aboutsummaryrefslogtreecommitdiffstats
path: root/test/native/cross-ubuntu-armv7-tst1/arm-gcc-test.sh
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-07-23 01:50:21 +0200
committerSven Gothel <[email protected]>2011-07-23 01:50:21 +0200
commit967782f7bdbd0dd73c2e3ea448a0c9d44552a7d9 (patch)
treee05edc4bed58c9ff8503728b0a6db07b67032144 /test/native/cross-ubuntu-armv7-tst1/arm-gcc-test.sh
parent2d57b3cbb4a8189ecb5523f6d8de3aa37db78a13 (diff)
Adding native crosscompile test to ubuntu/armv7 and android/armv7
Diffstat (limited to 'test/native/cross-ubuntu-armv7-tst1/arm-gcc-test.sh')
-rw-r--r--test/native/cross-ubuntu-armv7-tst1/arm-gcc-test.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/native/cross-ubuntu-armv7-tst1/arm-gcc-test.sh b/test/native/cross-ubuntu-armv7-tst1/arm-gcc-test.sh
new file mode 100644
index 0000000..5243652
--- /dev/null
+++ b/test/native/cross-ubuntu-armv7-tst1/arm-gcc-test.sh
@@ -0,0 +1,13 @@
+
+PATH=`pwd`/../../../make/lib/linux-x86_64/arm-linux-gnueabi/bin:$PATH
+export PATH
+
+TEST_APP=arm-gcc-test
+
+mkdir -p build/native
+ssh jogamp@beagle01 mkdir -p projects/native-tst
+
+gcc -o build/native/${TEST_APP} ${TEST_APP}.c
+scp build/native/${TEST_APP} jogamp@beagle01:projects/native-tst/
+ssh jogamp@beagle01 "cd projects/native-tst ; ./${TEST_APP}"
+