mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-21 06:45:39 -06:00
.autotest
git-svn-id: svn://ultimatepp.org/upp/trunk@7118 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
a6521689b8
commit
d50a408d2d
1 changed files with 13 additions and 12 deletions
|
|
@ -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 << " -" << flags;
|
||||
if(first)
|
||||
c << 'a';
|
||||
#ifdef PLATFORM_POSIX
|
||||
|
|
@ -110,20 +110,21 @@ CONSOLE_APP_MAIN
|
|||
Vector<String> bm = Split((String)ini["build_method"], ';');
|
||||
exclude = Split((String)ini["exclude"], ';');
|
||||
|
||||
Vector<bool> release;
|
||||
for(int i = 0; i < bm.GetCount(); i++) {
|
||||
bool r = bm[i].EndsWith("-R");
|
||||
if(r)
|
||||
bm[i].Trim(bm[i].GetCount() - 3);
|
||||
release.Add(r);
|
||||
}
|
||||
|
||||
infolog << "Started " << GetSysTime() << "\n";
|
||||
|
||||
bm.Add("GCC");
|
||||
bm.Add("GCC11");
|
||||
|
||||
for(int i = 0; i < bm.GetCount(); i++) {
|
||||
for(int j = 0; j < test.GetCount(); j++) {
|
||||
Do(test[j], bm[i], false, true);
|
||||
Do(test[j], bm[i], true, false);
|
||||
}
|
||||
for(int j = 0; j < build.GetCount(); j++) {
|
||||
Do(build[j], bm[i], false, false);
|
||||
Do(build[j], bm[i], true, false);
|
||||
}
|
||||
for(int j = 0; j < test.GetCount(); j++)
|
||||
Do(test[j], bm[i], release[i], true);
|
||||
for(int j = 0; j < build.GetCount(); j++)
|
||||
Do(build[j], bm[i], release[i], false);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue