diff options
author | Tristan Gingold | 2015-12-21 19:51:38 +0100 |
---|---|---|
committer | Tristan Gingold | 2015-12-21 19:51:38 +0100 |
commit | 39a34058f1de6c2c80b9f39fe36890f66a111f86 (patch) | |
tree | 569357f0c02fd8929fefa0f62e902ffc3fd58319 /testsuite/testenv.sh | |
parent | 87514d8d3e2e23e4b2879998e9516ab2a9882c55 (diff) | |
download | ghdl-39a34058f1de6c2c80b9f39fe36890f66a111f86.tar.gz ghdl-39a34058f1de6c2c80b9f39fe36890f66a111f86.tar.bz2 ghdl-39a34058f1de6c2c80b9f39fe36890f66a111f86.zip |
Add testcase for ticket101.
Diffstat (limited to 'testsuite/testenv.sh')
-rw-r--r-- | testsuite/testenv.sh | 10 |
1 files changed, 8 insertions, 2 deletions
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 } |