File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change @@ -74,6 +74,42 @@ if [ "$QEMU" != "" ]; then
74
74
eval " $( dpkg-buildflags --export=sh) "
75
75
make -C lisp -f Makefile.Linux eus0 eus1 eus2 eusg eusx eusgl eus eusjpeg
76
76
travis_time_end
77
+
78
+ if [[ ` gcc -dumpmachine | egrep " ^(arm|aarch)" ` != " " ]]; then
79
+ export ARCHDIR=LinuxARM
80
+ elif [[ ` gcc -dumpmachine | egrep " ^x86_64" ` != " " ]]; then
81
+ export ARCHDIR=Linux64
82
+ else
83
+ export ARCHDIR=Linux
84
+ fi
85
+ export PATH=` pwd` /$ARCHDIR /bin:$PATH
86
+
87
+ export EXIT_STATUS=0;
88
+ set +e
89
+ # run test in EusLisp/test
90
+ for test_l in test/* .l; do
91
+
92
+ travis_time_start euslisp.${test_l##*/ } .test
93
+
94
+ eusgl $test_l ;
95
+ export TMP_EXIT_STATUS=$?
96
+
97
+ travis_time_end ` expr 32 - $TMP_EXIT_STATUS `
98
+
99
+ export EXIT_STATUS=` expr $TMP_EXIT_STATUS + $EXIT_STATUS ` ;
100
+ done ;
101
+ echo " Exit status : $EXIT_STATUS " ;
102
+
103
+ travis_time_start euslisp.eusjpeg.test
104
+
105
+ eusgl ' (progn (load (format nil "~A/lisp/image/jpeg/eusjpeg.l" *eusdir*))(image::write-jpeg-file "test.jpg" (instance color-image24 :init 100 100)) (print *user*) (unix::exit))'
106
+
107
+ export TMP_EXIT_STATUS=$?
108
+
109
+ travis_time_end ` expr 32 - $TMP_EXIT_STATUS `
110
+ export EXIT_STATUS=` expr $TMP_EXIT_STATUS + $EXIT_STATUS ` ;
111
+ echo " Exit status : $EXIT_STATUS " ;
112
+ [ $EXIT_STATUS == 0 ] || exit 1
77
113
exit 0
78
114
fi
79
115
You can’t perform that action at this time.
0 commit comments