[Assorted-commits] SF.net SVN: assorted:[1248] cpp-commons/trunk/tools/check.bash
Brought to you by:
yangzhang
From: <yan...@us...> - 2009-03-04 23:30:29
|
Revision: 1248 http://assorted.svn.sourceforge.net/assorted/?rev=1248&view=rev Author: yangzhang Date: 2009-03-04 23:30:14 +0000 (Wed, 04 Mar 2009) Log Message: ----------- moved build tests to test/build/ Modified Paths: -------------- cpp-commons/trunk/tools/check.bash Modified: cpp-commons/trunk/tools/check.bash =================================================================== --- cpp-commons/trunk/tools/check.bash 2009-03-04 19:37:48 UTC (rev 1247) +++ cpp-commons/trunk/tools/check.bash 2009-03-04 23:30:14 UTC (rev 1248) @@ -25,11 +25,12 @@ } build-tests() { - my-srcs | sed 's/^/#include </; s/$/>/' > test/all.cc + mkdir -p test/build/ + my-srcs | sed 's/^/#include </; s/$/>/' > test/build/all.cc for i in $(my-srcs) - do echo "#include <$i>" | clobber-if-diff test/$(basename ${i%.h}).cc + do echo "#include <$i>" | clobber-if-diff test/build/$(basename ${i%.h}).cc done - make -C test/ + make -C test/ build } check-include-guards() { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |