Test suite now builds
This commit is contained in:
parent
ee751a97c1
commit
14a5c5c1ef
9 changed files with 639 additions and 14 deletions
|
|
@ -39,11 +39,13 @@ dotnettestenv = dotnetenv.Clone()
|
|||
|
||||
#dotnettestenv['ENV']['LD_LIBRARY_PATH'] = os.path.dirname(str(libhammer_shared[0]))
|
||||
#dotnettests = ['t/hammer.t']
|
||||
dotnettestenv.Append(CILLIBS=['/usr/lib/cli/nunit.core-2.6/nunit.core.dll','/usr/lib/cli/nunit.util-2.6/nunit.util.dll','/usr/lib/cli/nunit.framework-2.6/nunit.framework.dll','/usr/lib/cli/nunit.core.interfaces-2.6/nunit.core.interfaces.dll',str(hammer_dll[0])])
|
||||
dotnettestenv.Append(CILLIBS=['/usr/lib/cli/nunit.core-2.6/nunit.core.dll','/usr/lib/cli/nunit.util-2.6/nunit.util.dll','/usr/lib/cli/nunit.framework-2.6/nunit.framework.dll','/usr/lib/cli/nunit.core.interfaces-2.6/nunit.core.interfaces.dll', "src/bindings/dotnet/hammer.dll"])
|
||||
dotnettestlib = dotnettestenv.CLILibrary('hammer_test.dll', Glob('test/*.cs'))
|
||||
#dotnettestexec = dotnettestenv.Command(None, dotnettests + libhammer_dotnet + libhammer_shared, "make test -C " + targetdir)
|
||||
#dotnettest = Alias("testdotnet", [dotnettestexec], dotnettestexec)
|
||||
#AlwaysBuild(dotnettestexec)
|
||||
Depends(dotnettestlib, hammer_dll)
|
||||
|
||||
dotnettestexec = dotnettestenv.Command(None, dotnettestlib, "nunit-console $SOURCE")
|
||||
dotnettest = Alias("testdotnet", [dotnettestexec], dotnettestexec)
|
||||
AlwaysBuild(dotnettestexec)
|
||||
testruns.append(dotnettestlib)
|
||||
|
||||
#dotnetinstallexec = dotnetenv.Command(None, libhammer_dotnet, "make install -C " + targetdir)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue