Skip to content

Commit 1c4f556

Browse files
committed
raspberry
1 parent fdf250c commit 1c4f556

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

script/testga.ijs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,15 @@ ECHOFILENAME=: 1 NB. echo file name
2121

2222
stdout LF ,~ 9!:14''
2323

24+
echo '_DEBUG: ',": 2!:5'_DEBUG'
2425
echo 'RUNNER_ARCH: ',": 2!:5'RUNNER_ARCH'
2526

2627
ddall=: ddall -. blacklist=: blacklist, ('OpenBSD'-:UNAME)#(<testpath),each <'gstack.ijs' NB. temporarily disable
27-
ddall=: ddall -. blacklist=: blacklist, ('OpenBSD'-:UNAME)#(<testpath),each 'gtdot.ijs';'gtdot3.ijs';'gtdot4.ijs' NB. temporarily disable
28+
ddall=: ddall -. blacklist=: blacklist, ('OpenBSD'-:UNAME)#(<testpath),each 'gtdot.ijs';'gtdot3.ijs';'gtdot4.ijs';'gtdot5.ijs' NB. temporarily disable
2829
ddall=: ~. ddall ,~ (-.IFWA64)#((<UNAME)e.'Win';'Darwin')#(<testpath),each <'glapack.ijs'
2930

3031
NB. smoke test
31-
NB. RES=: RUN4 (<testpath),each IF64{:: (<'gstack.ijs') ,&< 'gtdot.ijs';'gtdot3.ijs'
32+
NB. RES=: RUN4 (<testpath),each IF64{:: (<'gstack.ijs') ,&< 'gtdot1.ijs';'gtdot5.ijs'
3233
NB. echo^:(*@#RES) RES
3334
NB. RUN1 ::0:@dtb"1^:(*@#RES) RES
3435
NB. exit^:(*@#RES) *@#RES

script/testga.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,16 +73,21 @@ LC_ALL=fr_FR.UTF-8 lldb -b -o run -k bt -k quit -- j64/jconsole -lib libj.$ext t
7373
else
7474
LC_ALL=fr_FR.UTF-8 j64/jconsole -lib libj.$ext testga.ijs
7575
fi
76-
elif [ $1 = "linux" ] && [ "$_DEBUG" = "3" ] ; then
76+
elif [ "$_DEBUG" = "3" ] ; then
7777
echo "running debug"
7878
LC_ALL=fr_FR.UTF-8 gdb -batch -return-child-result -ex "run" -ex "thread apply all bt" --args j64/jconsole -lib libj.$ext testga.ijs
7979
else
8080
LC_ALL=fr_FR.UTF-8 j64/jconsole -lib libj.$ext testga.ijs
8181
fi
8282
else
8383
ls -l j32
84+
if { [ $1 = "linux" ] || [ $1 = "raspberry" ] ; } && [ "$_DEBUG" = "3" ] ; then
85+
echo "running debug"
86+
LC_ALL=fr_FR.UTF-8 gdb -batch -return-child-result -ex "run" -ex "thread apply all bt" --args j32/jconsole -lib libj.$ext testga.ijs
87+
else
8488
LC_ALL=fr_FR.UTF-8 j32/jconsole -lib libj.$ext testga.ijs
8589
fi
90+
fi
8691
if [ $1 = "darwin" ]; then
8792
if [ "$(sysctl -a | grep machdep.cpu | grep -c AVX2)" -ne 0 ] && [ -f "j64/libjavx2.$ext" ] ; then
8893
if [ "$_DEBUG" = "3" ]; then

0 commit comments

Comments
 (0)