Skip to content

Commit dc098f0

Browse files
fmigneaultmr-c
authored andcommitted
fix run_tests indents + gitignore IDE/python files
1 parent 53ea13c commit dc098f0

File tree

2 files changed

+23
-12
lines changed

2 files changed

+23
-12
lines changed

.gitignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
## IDE
2+
.idea/
3+
.vscode/
4+
5+
## Python
6+
*.py[cod]
7+
*.egg[s]
8+
*.egg-info
9+
*egg[s]
10+
__pycache__
11+
.python_history

run_test.sh

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
func() {
4-
helpmessage=$(cat)
4+
helpmessage=$(cat)
55
}
66
func <<EOF
77
$(basename "$0"): Run common workflow tool description language conformance tests.
@@ -64,15 +64,15 @@ do
6464
-n*)
6565
TEST_n=$arg
6666
;;
67-
-N*)
68-
TEST_N=$arg
69-
;;
67+
-N*)
68+
TEST_N=$arg
69+
;;
7070
-s*)
7171
TEST_s=$arg
7272
;;
73-
-S*)
74-
TEST_S=$arg
75-
;;
73+
-S*)
74+
TEST_S=$arg
75+
;;
7676
-j*)
7777
TEST_J=$arg
7878
;;
@@ -150,10 +150,10 @@ runtest() {
150150

151151
runs=$((runs+1))
152152
(COMMAND="cwltest --tool $1 \
153-
--test=conformance_tests.yaml ${CLASS} \
154-
${TEST_n} ${TEST_N} ${TEST_s} ${TEST_S} \
155-
${VERBOSE} ${TEST_L} ${TEST_J} ${ONLY_TOOLS} ${JUNIT_XML} \
156-
${TIMEOUT} ${BADGE} ${TAGS} -- ${EXTRA}"
153+
--test=conformance_tests.yaml ${CLASS} \
154+
${TEST_n} ${TEST_N} ${TEST_s} ${TEST_S} \
155+
${VERBOSE} ${TEST_L} ${TEST_J} ${ONLY_TOOLS} ${JUNIT_XML} \
156+
${TIMEOUT} ${BADGE} ${TAGS} -- ${EXTRA}"
157157
if [ "$VERBOSE" = "--verbose" ]; then echo "${COMMAND}"; fi
158158
${COMMAND}
159159
) || failures=$((failures+1))
@@ -162,7 +162,7 @@ runtest() {
162162
if [ "$PLATFORM" = "Linux" ]; then
163163
runtest "$(readlink -f "$runner")"
164164
elif [ "$PLATFORM" = "Darwin" ]; then
165-
runtest $runner
165+
runtest $runner
166166
else
167167
runtest "$(greadlink -f "$runner")"
168168
fi

0 commit comments

Comments
 (0)