There was an error while loading. Please reload this page.
1 parent a2e48cb commit 5bcff7cCopy full SHA for 5bcff7c
1 file changed
test.sh
@@ -1,25 +1,21 @@
1
#!/bin/sh
2
-# POSIX shell script for Olympus test runner.
3
-# Usage:
4
-# ./test.sh base
5
-# ./test.sh new
6
-# This script runs only the regression test and does not install packages.
7
set -eu
8
9
if [ "$#" -ne 1 ]; then
10
- printf 'Usage: %s [base|new]\n' "$0" >&2
11
- exit 2
+ echo "Usage: $0 {base|new}"
+ exit 1
12
fi
13
14
case "$1" in
15
- base|new)
+base)
+ poetry run pytest -q tests/datetime/test_comparison.py
16
;;
17
- *)
18
- printf 'Invalid argument: %s\n' "$1" >&2
19
20
+new)
+ ;;
+*)
21
22
esac
23
24
-poetry run pytest -q tests/datetime/test_comparison.py::test_less_than_with_fold
25
-exit $?
0 commit comments