forked from 0ad/0ad
Replace usage of "GUIs" in cxxtest with the command line,
and extend that to support -libdir <dir> and -disabled. Fixes #2488. This was SVN commit r15795.
This commit is contained in:
parent
29effb5089
commit
4753a0c1c2
@ -1327,12 +1327,12 @@ function configure_cxxtestgen()
|
||||
local lcxxtestrootoptions = "--have-std"
|
||||
|
||||
if _OPTIONS["jenkins-tests"] then
|
||||
lcxxtestrootoptions = lcxxtestrootoptions .. " --gui=PsTestWrapper --runner=XmlPrinter"
|
||||
lcxxtestrootoptions = lcxxtestrootoptions .. " --runner=XmlPrinter"
|
||||
else
|
||||
if os.is("windows") then
|
||||
lcxxtestrootoptions = lcxxtestrootoptions .. " --gui=PsTestWrapper --runner=Win32ODSPrinter"
|
||||
lcxxtestrootoptions = lcxxtestrootoptions .. " --runner=Win32ODSPrinter"
|
||||
else
|
||||
lcxxtestrootoptions = lcxxtestrootoptions .. " --gui=PsTestWrapper --runner=ErrorPrinter"
|
||||
lcxxtestrootoptions = lcxxtestrootoptions .. " --runner=ErrorPrinter"
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -33,8 +33,6 @@
|
||||
# include "mocks/unistd.h"
|
||||
#endif
|
||||
|
||||
#include <cxxtest/PsTestWrapper.h>
|
||||
|
||||
class TestSysdep : public CxxTest::TestSuite
|
||||
{
|
||||
public:
|
||||
|
Loading…
Reference in New Issue
Block a user