diff options
author | Stefan Bühler <stbuehler@web.de> | 2015-08-29 09:28:04 +0000 |
---|---|---|
committer | Stefan Bühler <stbuehler@web.de> | 2015-08-29 09:28:04 +0000 |
commit | 68284bd7f11defea1a43cf987f501415ed29f4a5 (patch) | |
tree | 2cdd4c54cb1cdb758acd6af963c1ed4c246f5b7a /tests/cleanup.sh | |
parent | b66fa2cb68a7c0ca6fae280bd71662d5ddce8c24 (diff) | |
download | lighttpd-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-x | tests/cleanup.sh | 8 |
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" |