diff options
Diffstat (limited to 'mythfs/unittests/Jamfile.jam')
-rw-r--r-- | mythfs/unittests/Jamfile.jam | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/mythfs/unittests/Jamfile.jam b/mythfs/unittests/Jamfile.jam new file mode 100644 index 0000000..8ae546c --- /dev/null +++ b/mythfs/unittests/Jamfile.jam @@ -0,0 +1,52 @@ +import testing ; + +lib boost_utf : : <name>boost_unit_test_framework ; +lib dbpp-mysql : : : : <include>/usr/include/dbpp-mysql ; +lib dryice : : : : <include>/usr/include/icetray ; + +path-constant me : . ; + +alias test-data : + [ glob-tree *.dat ] + fixtures/schema.sql + ; + +lib testCommon : + mockDefs.cpp + : + <library>dbpp-mysql + <library>..//dbppcore + <library>..//adhocutil + <define>ROOT=\"$(me)\" + <library>..//boost_system + <library>..//boost_filesystem + <library>..//netfsComms + <library>..//IceUtil + <library>..//Ice + <library>..//IceBox + <library>..//pthread + <library>dryice + : : + <library>dryice + <library>..//dbppcore + <library>..//adhocutil + <library>..//IceUtil + <library>..//Ice + <library>..//IceBox + <library>..//pthread + ; + +run + testMain.cpp + : : + : + <define>BOOST_TEST_DYN_LINK + <library>../service//mythfs + <library>..//boost_system + <library>..//boost_filesystem + <library>testCommon + <library>boost_utf + <dependency>test-data + <define>ROOT=\"$(me)\" + : testMain ; + |