summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCEST 2005 Dodji Seketeli <dodji@seketeli.org>2005-05-10 19:52:42 +0000
committerDodji Seketeli <dodji@src.gnome.org>2005-05-10 19:52:42 +0000
commit673e0d30edc06f4e51c1a159129010fc9a22149d (patch)
tree10f384667a5f6e2ae62507763ff1ff852b03e2ef
parent87e540b6a27f7fcca8b450bb44a8b197eeffb464 (diff)
downloadlibcroco-673e0d30edc06f4e51c1a159129010fc9a22149d.tar.gz
Forgot to add global-test-vars.sh.in
Tue May 10 21:53:02 CEST 2005 Dodji Seketeli <dodji@seketeli.org> Forgot to add global-test-vars.sh.in
-rw-r--r--global-test-vars.sh.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/global-test-vars.sh.in b/global-test-vars.sh.in
new file mode 100644
index 0000000..cfe1849
--- /dev/null
+++ b/global-test-vars.sh.in
@@ -0,0 +1,12 @@
+TEST_OUT_DIR=./tests
+TEST_SOURCE_DIR=@srcdir@/tests
+TEST_INPUTS_DIR="$TEST_SOURCE_DIR"/test-inputs
+CSSLINT=./csslint/.libs/csslint-@LIBCROCO_MAJOR_VERSION@.@LIBCROCO_MINOR_VERSION@
+if ! test -x $CSSLINT ; then
+ echo "Error: Could not find an executable csslint. I was looking for $CSSLINT" >&2
+ exit 1
+fi
+
+if ! test x"$VALGRIND" = x ; then
+ CSSLINT="$VALGRIND $CSSLINT"
+fi