summaryrefslogtreecommitdiff
path: root/tests/cleanup.sh
diff options
context:
space:
mode:
authorStefan Bühler <stbuehler@web.de>2015-08-29 09:28:04 +0000
committerStefan Bühler <stbuehler@web.de>2015-08-29 09:28:04 +0000
commit68284bd7f11defea1a43cf987f501415ed29f4a5 (patch)
tree2cdd4c54cb1cdb758acd6af963c1ed4c246f5b7a /tests/cleanup.sh
parentb66fa2cb68a7c0ca6fae280bd71662d5ddce8c24 (diff)
downloadlighttpd-git-68284bd7f11defea1a43cf987f501415ed29f4a5.tar.gz
[scons] various improvements
- don't generate files in src/ - move all build stuff to sconsbuild/ - have different output directories for static/ and fullstatic/, so we can use that directory for the test suite - each build type (dynamic, static, fullstatic) has its own check target - read CFLAGS, LDFLAGS and LIBS from environment (LIBS are appended after all other dependencies) From: Stefan Bühler <stbuehler@web.de> git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3030 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'tests/cleanup.sh')
-rwxr-xr-xtests/cleanup.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/cleanup.sh b/tests/cleanup.sh
index 5ee34a62..ec68ed71 100755
--- a/tests/cleanup.sh
+++ b/tests/cleanup.sh
@@ -4,10 +4,14 @@ if test x$srcdir = x; then
srcdir=.
fi
-tmpdir=$top_builddir/tests/tmp/
+if test x$top_builddir = x; then
+ top_builddir=..
+fi
+
+tmpdir="$top_builddir/tests/tmp/"
# remove test-framework
-rm -rf $tmpdir
+rm -rf "$tmpdir"
printf "%-40s" "cleaning up"