diff options
Diffstat (limited to 'scripts/testing/run-test.sh')
| -rwxr-xr-x | scripts/testing/run-test.sh | 21 |
1 files changed, 5 insertions, 16 deletions
diff --git a/scripts/testing/run-test.sh b/scripts/testing/run-test.sh index e06d177..4c41cc3 100755 --- a/scripts/testing/run-test.sh +++ b/scripts/testing/run-test.sh @@ -28,7 +28,6 @@ source "$SCRIPT_DIR/lib/validation.sh" KEEP_VM=false ARCHSETUP_SCRIPT="$PROJECT_ROOT/archsetup" SNAPSHOT_NAME="clean-install" -SKIP_SLOW_PACKAGES=false while [[ $# -gt 0 ]]; do case $1 in @@ -44,16 +43,11 @@ while [[ $# -gt 0 ]]; do SNAPSHOT_NAME="$2" shift 2 ;; - --skip-slow-packages) - SKIP_SLOW_PACKAGES=true - shift - ;; *) - echo "Usage: $0 [--keep] [--script /path/to/archsetup] [--snapshot name] [--skip-slow-packages]" - echo " --keep Keep VM in post-test state (for debugging)" - echo " --script Specify custom archsetup script to test" - echo " --snapshot Snapshot name to revert to (default: clean-install)" - echo " --skip-slow-packages Skip slow packages (texlive-meta, topgrade) for faster testing" + echo "Usage: $0 [--keep] [--script /path/to/archsetup] [--snapshot name]" + echo " --keep Keep VM in post-test state (for debugging)" + echo " --script Specify custom archsetup script to test" + echo " --snapshot Snapshot name to revert to (default: clean-install)" exit 1 ;; esac @@ -194,13 +188,8 @@ info "Log file: $LOGFILE" # Start archsetup in a detached session on the VM (resilient to SSH disconnections) REMOTE_LOG="/tmp/archsetup-test/archsetup-output.log" -ARCHSETUP_ARGS="" -if $SKIP_SLOW_PACKAGES; then - ARCHSETUP_ARGS="--skip-slow-packages" - info "Running archsetup with --skip-slow-packages flag" -fi sshpass -p "$ROOT_PASSWORD" ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \ - "root@$VM_IP" "cd /tmp/archsetup-test && nohup bash archsetup $ARCHSETUP_ARGS > $REMOTE_LOG 2>&1 & echo \$!" \ + "root@$VM_IP" "cd /tmp/archsetup-test && nohup bash archsetup > $REMOTE_LOG 2>&1 & echo \$!" \ >> "$LOGFILE" 2>&1 if [ $? -ne 0 ]; then |
