aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test.sh')
-rw-r--r--tests/test.sh10
1 files changed, 3 insertions, 7 deletions
diff --git a/tests/test.sh b/tests/test.sh
index 159e435..f2b9d86 100644
--- a/tests/test.sh
+++ b/tests/test.sh
@@ -56,9 +56,9 @@ cleanuploads() {
mkdir -p "$RESULTDIR"
}
-if [ "$1" == "stl-leaks" ]; then
- cleanuploads
+[ ! -z "$CLEAN" ] && cleanuploads
+if [ "$1" == "stl-leaks" ]; then
announce "Testing ASCII STL Parsing"
(
echo "echo"
@@ -78,8 +78,6 @@ if [ "$1" == "stl-leaks" ]; then
) | checkleaks
elif [ "$1" == "stl-upload" ]; then
- cleanuploads
-
popd
file="$(realpath $2)"
if [ ! -e "$file" ]; then
@@ -95,11 +93,9 @@ elif [ "$1" == "stl-upload" ]; then
cat "$file" | wc -c
cat "$file"
echo "$name"
- ) | checkleaks
+ ) | connect
elif [ "$1" == "auth-upload" ]; then
- cleanuploads
-
(
echo "echo"