Skip to content

Commit

Permalink
Don't make generic tests take an argument
Browse files Browse the repository at this point in the history
  • Loading branch information
grg-haas committed Jun 18, 2024
1 parent d63aa00 commit 25add66
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions scripts/ci/plat/generic/test.sh
Original file line number Diff line number Diff line change
@@ -1,21 +1,16 @@
#!/bin/bash
set -e

# Arguments
# 1. Bitness (i.e. 32, 64)

if [[ "$#" -lt 1 ]]; then
echo "usage: test-generic.sh [bits]"
exit 1
fi

export KEYSTONE_BITS="$1"

if [[ -z "$CMD_LOGFILE" ]]; then
echo "CMD_LOGFILE undefined"
exit 1
fi

if [[ -z "$KEYSTONE_BITS" ]]; then
echo "KEYSTONE_BITS undefined"
exit 1
fi

###############
## Run tests ##
###############
Expand Down

0 comments on commit 25add66

Please sign in to comment.