From 39a34058f1de6c2c80b9f39fe36890f66a111f86 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Mon, 21 Dec 2015 19:51:38 +0100 Subject: Add testcase for ticket101. --- testsuite/testenv.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'testsuite/testenv.sh') diff --git a/testsuite/testenv.sh b/testsuite/testenv.sh index 60dc09e..21a681d 100644 --- a/testsuite/testenv.sh +++ b/testsuite/testenv.sh @@ -124,7 +124,13 @@ clean () echo "Remove work library" "$GHDL" --remove $GHDL_STD_FLAGS else - echo "Remove $1 library" - "$GHDL" --remove $GHDL_STD_FLAGS --work=$1 + case "$1" in + --std=*) + echo "Remove work library" + "$GHDL" --remove $1 ;; + *) + echo "Remove $1 library" + "$GHDL" --remove $GHDL_STD_FLAGS --work=$1 ;; + esac fi } -- cgit