M robot/basic.robot +1 -1
@@ 19,7 19,7 @@ Fail1 Test Fails
*** Keywords ***
Run Test
[Arguments] ${testname}
- ${result}= Run Process test_sources/${testname}
+ ${result}= Run Process test_sources/bin/${testname}
Set Test Variable ${TEST_OUTPUT} ${result.stdout}
Result Should Contain
M robot/test_sources/gnat/build.bat +11 -3
@@ 1,3 1,11 @@
-gnatmake -p -P gnat\tests
-copy gnat\simple1r.exe .
-copy gnat\fail1r.exe .
+if not exist bin ( mkdir bin )
+gprbuild -p -P gnat\tests
+if %ERRORLEVEL NEQ 0 goto errorhappened
+copy gnat\simple1r.exe bin
+copy gnat\fail1r.exe bin
+
+:allok:
+exit /b 0
+
+:errorhappened:
+exit /b 1
M robot/test_sources/janusada/build.bat +6 -2
@@ 1,9 1,13 @@
+@rem Run this from robot\test_sources directory
+
+if not exits bin ( mkdir bin )
+
cd simple1
corder simple1r /pSimple1/l'ads'/n'adb'/t/w/k255/js'jbind'/jb'/t/l/YLLIBCMT'/b'..\simple1_obj\ctst.bat'/r..\simple1_obj
cd ..\simple1_obj
call ctst.bat
call lkc simple1r
-move simple1r.exe ..
+move simple1r.exe ..\bin
cd ..
cd fail1
@@ 11,5 15,5 @@ corder fail1r /pfail1/l'ads'/n'adb'/t/w/
cd ..\fail1_obj
call ctst.bat
call lkc fail1r
-move fail1r.exe ..
+move fail1r.exe ..\bin
cd ..