summaryrefslogtreecommitdiff
path: root/tests/xsthammer/run-xst.sh
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2013-06-10 16:17:09 +0200
committerClifford Wolf <clifford@clifford.at>2013-06-10 16:17:09 +0200
commit90265118215ae74384732edc9cf3fb57b6978756 (patch)
tree936d9efbe8d98a3639c8b60647c53e8186de669c /tests/xsthammer/run-xst.sh
parent7d790febb040ae153a4db9be725f4d9709a49843 (diff)
Progress xsthammer scripts
Diffstat (limited to 'tests/xsthammer/run-xst.sh')
-rw-r--r--tests/xsthammer/run-xst.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/xsthammer/run-xst.sh b/tests/xsthammer/run-xst.sh
index bcd12ea3..00c46a75 100644
--- a/tests/xsthammer/run-xst.sh
+++ b/tests/xsthammer/run-xst.sh
@@ -8,7 +8,11 @@ rm -rf xst_temp
mkdir xst_temp
cd xst_temp
-for job in $( ls ../rtl | sed 's,\.v$,,' )
+if [ $# -eq 0 ]; then
+ set -- $( ls ../rtl | sed 's,\.v$,,' )
+fi
+
+for job
do
cat > $job.xst <<- EOT
run