diff --git a/tools/test.sh b/tools/test.sh
index 189e078..007a013 100755
--- a/tools/test.sh
+++ b/tools/test.sh
@@ -10,12 +10,6 @@ cargo doc
 # run all tests
 cargo test --tests
 
-echo "---t1"
-ls -la
-echo "---t2"
-ls -la toisto-au-test-suite
-echo "---t3"
-
 # build the toisto tester
 cargo build --example ausnd-aureader-toisto
 
@@ -24,15 +18,24 @@ echo
 echo 'Toisto AU test suite results:'
 cd toisto-au-test-suite
 
-echo "---t13"
-ls -la ../target
-echo "---t14"
-ls -la ../target/debug
-echo "---t15"
-ls -la ../target/debug/examples
-echo "---t16"
+echo "---t1"
+ls -laR ../target
+echo "---t2"
+
+# target/debug for normal testing,
+# x86_64-unknown-linux-gnu and powerpc-unknown-linux-gnu for GitHub Actions
+if [ -e ../target/x86_64-unknown-linux-gnu/examples/ausnd-aureader-toisto ]
+then
+    echo "TARGET: x86_64-unknown-linux-gnu"
+    python3 toisto-runner.py -c -v --override-list ../toisto-ausnd-override-list.json ../target/x86_64-unknown-linux-gnu/examples/ausnd-aureader-toisto
+elif [ -e ../target/powerpc-unknown-linux-gnu/examples/ausnd-aureader-toisto ]
+then
+    echo "TARGET: powerpc-unknown-linux-gnu"
+    python3 toisto-runner.py -c -v --override-list ../toisto-ausnd-override-list.json ../target/powerpc-unknown-linux-gnu/examples/ausnd-aureader-toisto
+else
+    python3 toisto-runner.py -c --override-list ../toisto-ausnd-override-list.json ../target/debug/examples/ausnd-aureader-toisto
+fi
 
-python3 toisto-runner.py -c -v --override-list ../toisto-ausnd-override-list.json ../target/debug/examples/ausnd-aureader-toisto
 
 echo
 echo "--- All tests OK."