From: g0dil Date: Fri, 13 Aug 2010 12:38:40 +0000 (+0000) Subject: Fix 'scons -h' X-Git-Url: http://g0dil.de/git?a=commitdiff_plain;h=c22bbc250bf035b74855b8f7de97105d79a08bb1;p=senf.git Fix 'scons -h' git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1685 270642c3-0616-0410-b53a-bc976706d245 --- diff --git a/SConstruct b/SConstruct index da124b8..c4b1431 100644 --- a/SConstruct +++ b/SConstruct @@ -33,10 +33,17 @@ fixlinks Fix broken links in doxygen documentation all_valgrinds Run all tests under valgrind/memcheck lcov Generate test coverage output in doc/lcov and lcov.info -You may execute targets on a remote host (if the directory layout is the same) -by calling +The following additional targets may be called within subdirectories, either +using '$ scons -u ' or '$ scons /: - scons @[@] +test Build and run unit test for this module +doc Build the documentation of this module +valgrind Run the unit test of this module under valgrind + +You may execute targets on a remote host via ssh (if the directory layout is the +same) by calling + + $ scons @[@] Some more elaborate unit tests may be enabled by setting appropritate variables in the shell (unix) environment @@ -219,7 +226,7 @@ env.PhonyTarget('prepare', [], []) #### valgrind env.Alias('all_valgrinds') -if env['HAVE_VALGRIND']: +if env.get('HAVE_VALGRIND'): for test in env.FindAllBoostUnitTests(): stamp = env.Command(test[0].dir.File('.test-valgrind.stamp'), [ test[0].dir.File('.test.bin'), 'tools/valgrind.sup' ],