Permalink
Browse files

Cleanup

  • Loading branch information...
1 parent 3492040 commit c7ad9ac8d417d6ac7518a804fb80baaeb26258a4 @gciolli committed Nov 6, 2012
Showing with 4 additions and 2 deletions.
  1. +1 −1 Makefile
  2. +3 −1 scripts/regress.sh
View
@@ -17,7 +17,7 @@ all: sql/$(EXTENSION)--$(EXTVERSION).sql
sql/$(EXTENSION)--$(EXTVERSION).sql: sql/$(EXTENSION).sql
cp $< $@
-DATA = $(wildcard sql/*--*.sql) sql/$(EXTENSION)--$(EXTVERSION).sql
+DATA = $(wildcard sql/*--*.sql)
EXTRA_CLEAN = sql/$(EXTENSION)--$(EXTVERSION).sql
endif
View
@@ -8,7 +8,6 @@ f () {
Input=test/sql/regress/${Stem}.sql
Expected=test/sql/expected/${Stem}.txt
Actual=test/sql/tmp/${Stem}.txt
- mkdir -p test/sql/tmp
psql -vVERBOSITY=terse 2>$Actual >/dev/null <<EOF
\i $Input
\i test/sql/regress/_reset-games.sql
@@ -23,6 +22,9 @@ EOF
fi
}
+rm -rf test/sql/tmp
+mkdir -p test/sql/tmp
+
echo "$(date +%s.%N) [--] BEGIN"
f score-knight
f score-pawn

0 comments on commit c7ad9ac

Please sign in to comment.