Run rlgl outside of the build container.
authorAnthony Green <green@moxielogic.com>
Tue, 12 Nov 2019 13:58:52 +0000 (08:58 -0500)
committerAnthony Green <green@moxielogic.com>
Tue, 12 Nov 2019 13:58:52 +0000 (08:58 -0500)
.travis/build-in-container.sh
.travis/build.sh

index af8e2b6..3f7bd42 100755 (executable)
@@ -9,8 +9,4 @@ make
 make dist
 make check RUNTESTFLAGS="-a $RUNTESTFLAGS"
 
-./rlgl l https://rl.gl
-ID=$(./rlgl start)
-./rlgl e --id=$ID --policy=https://github.com/libffi/rlgl-policy.git */testsuite/libffi.log
-exit $?
 
index 502dce7..3d50052 100755 (executable)
@@ -41,6 +41,10 @@ function build_linux()
 function build_foreign_linux()
 {
     ${DOCKER} run --rm -t -i -v `pwd`:/opt ${SET_QEMU_CPU} -e LIBFFI_TEST_OPTIMIZATION="${LIBFFI_TEST_OPTIMIZATION}" $2 bash -c /opt/.travis/build-in-container.sh
+
+    ./rlgl l https://rl.gl
+    ID=$(./rlgl start)
+    ./rlgl e --id=$ID --policy=https://github.com/libffi/rlgl-policy.git */testsuite/libffi.log
     exit $?
 }