Merge remote-tracking branch 'upstream/master' into fix-alloc-failures
This commit is contained in:
commit
6aa7db833e
1 changed files with 2 additions and 1 deletions
|
|
@ -88,7 +88,8 @@ env.Install("$pkgconfigpath", "../../../libhammer.pc")
|
|||
|
||||
testenv = env.Clone()
|
||||
testenv.ParseConfig('pkg-config --cflags --libs glib-2.0')
|
||||
testenv.Append(LIBS=['hammer'], LIBPATH=['.'])
|
||||
testenv.Append(LIBS=['hammer'])
|
||||
testenv.Prepend(LIBPATH=['.'])
|
||||
ctestexec = testenv.Program('test_suite', ctests + ['test_suite.c'], LINKFLAGS="--coverage" if testenv.GetOption("coverage") else None)
|
||||
ctest = Alias('testc', [ctestexec], "".join(["env LD_LIBRARY_PATH=", os.path.dirname(ctestexec[0].path), " ", ctestexec[0].path]))
|
||||
AlwaysBuild(ctest)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue