aboutsummaryrefslogtreecommitdiff
path: root/test-rig/run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test-rig/run.sh')
-rwxr-xr-xtest-rig/run.sh15
1 files changed, 8 insertions, 7 deletions
diff --git a/test-rig/run.sh b/test-rig/run.sh
index ff63c21..b55ce1e 100755
--- a/test-rig/run.sh
+++ b/test-rig/run.sh
@@ -1,6 +1,6 @@
#!/bin/sh
# In-container orchestrator. Called by ./test from outside.
-# /work/test-rig/run.sh unit|e2e|all
+# /work/test-rig/run.sh unit|e2e|all|record|screenshots|apk
#
# Expects to run inside the scrcpy-android-test docker image with
# /work mounted at the project root.
@@ -24,10 +24,11 @@ e2e() {
}
case "$cmd" in
- unit) unit ;;
- e2e) e2e ;;
- all) unit && e2e ;;
- record) /work/test-rig/record.sh ;;
- apk) /work/test-rig/build-apk.sh ;;
- *) echo "run.sh: bad cmd $cmd" >&2; exit 2 ;;
+ unit) unit ;;
+ e2e) e2e ;;
+ all) unit && e2e ;;
+ record) /work/test-rig/record.sh ;;
+ screenshots) /work/test-rig/screenshots.sh ;;
+ apk) /work/test-rig/build-apk.sh ;;
+ *) echo "run.sh: bad cmd $cmd" >&2; exit 2 ;;
esac