Developing AutoTest

git-svn-id: svn://ultimatepp.org/upp/trunk@7143 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2014-04-02 19:14:48 +00:00
parent f349b72c8c
commit 2d87385b04

View file

@ -29,7 +29,7 @@ void Do(const char *nest, const char *bm, bool release, bool test)
txt << "-R ";
txt << ' ' << h << ' ';
String c;
c << GetHomeDirFile("bin/umk") << " " << nest << ' ' << name << ' ' << bm << " -" << flags;
c << GetHomeDirFile("bin/umk") << " " << nest << ' ' << name << ' ' << bm << " +AUTOTEST -" << flags;
if(first)
c << 'a';
#ifdef PLATFORM_POSIX
@ -41,9 +41,9 @@ void Do(const char *nest, const char *bm, bool release, bool test)
infolog << txt;
String out;
if(Sys(c, out)) {
Cout() << " *** FAILED TO COMPILE\n";
infolog << ": FAILED TO COMPILE\n";
errors << txt << ": FAILED TO COMPILE\n";
Cout() << " *** ERROR\n";
infolog << ": ERROR\n";
errors << txt << ": ERROR\n";
}
else {
infolog << ": BUILD OK";