Skip to content

Commit a475775

Browse files
committed
raspberry
1 parent 1c4f556 commit a475775

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

script/testga.sh

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,17 +74,26 @@ else
7474
LC_ALL=fr_FR.UTF-8 j64/jconsole -lib libj.$ext testga.ijs
7575
fi
7676
elif [ "$_DEBUG" = "3" ] ; then
77+
if [ $1 = "linux" ] ; then
7778
echo "running debug"
7879
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
7980
else
80-
LC_ALL=fr_FR.UTF-8 j64/jconsole -lib libj.$ext testga.ijs
81+
echo "running debug"
82+
LC_ALL=fr_FR.UTF-8 gdb -batch -ex "run" -ex "bt" --args j64/jconsole -lib libj.$ext testga.ijs
8183
fi
8284
else
85+
LC_ALL=fr_FR.UTF-8 j64/jconsole -lib libj.$ext testga.ijs
86+
fi
8387
ls -l j32
84-
if { [ $1 = "linux" ] || [ $1 = "raspberry" ] ; } && [ "$_DEBUG" = "3" ] ; then
88+
if [ "$_DEBUG" = "3" ] ; then
89+
if [ $1 = "linux" ] ; then
8590
echo "running debug"
8691
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
8792
else
93+
echo "running debug"
94+
LC_ALL=fr_FR.UTF-8 gdb -batch -ex "run" -ex "bt" --args j32/jconsole -lib libj.$ext testga.ijs
95+
fi
96+
else
8897
LC_ALL=fr_FR.UTF-8 j32/jconsole -lib libj.$ext testga.ijs
8998
fi
9099
fi
@@ -144,11 +153,15 @@ if [ "$(cat /var/run/dmesg.boot | grep -c AVX512)" -ne 0 ] && [ -f "j64/libjavx5
144153
fi
145154
fi
146155
if [ $m64 -eq 1 ]; then
156+
if [ -f "j64/jamalgam" ] ; then
147157
ls -l j64
148158
if [ "$1" != "openbsd" ] && [ "$1" != "freebsd" ] ; then
149159
LC_ALL=fr_FR.UTF-8 j64/jamalgam testga.ijs
150160
fi
161+
fi
151162
else
163+
if [ -f "j32/jamalgam" ] ; then
152164
ls -l j32
153165
# LC_ALL=fr_FR.UTF-8 j32/jamalgam testga.ijs
154166
fi
167+
fi

0 commit comments

Comments
 (0)