moved libtranslatortest.so building from bmptranslator folder to the translators folder in order to make it work better for adding more translators to the test
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2251 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,3 +1,15 @@
|
||||
SubDir OBOS_TOP src tests add-ons translators ;
|
||||
|
||||
SubInclude OBOS_TOP src tests add-ons translators bmptranslator ;
|
||||
# Let Jam know where to find some of our source files
|
||||
SEARCH_SOURCE += [ FDirName $(SUBDIR) bmptranslator ] ;
|
||||
SEARCH_SOURCE += [ FDirName $(SUBDIR) stxttranslator ] ;
|
||||
|
||||
CommonTestLib libtranslatorstest.so
|
||||
: TranslatorTestAddOn.cpp
|
||||
BMPTranslatorTest.cpp
|
||||
STXTTranslatorTest.cpp
|
||||
: libtranslation.so be stdc++.r4
|
||||
: translation be stdc++.r4
|
||||
:
|
||||
: translation
|
||||
;
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
#include <TestSuite.h>
|
||||
#include <TestSuiteAddon.h>
|
||||
|
||||
// ##### Include headers for your tests here #####
|
||||
#include "bmptranslator/BMPTranslatorTest.h"
|
||||
#include "stxttranslator/STXTTranslatorTest.h"
|
||||
|
||||
BTestSuite *
|
||||
getTestSuite()
|
||||
{
|
||||
BTestSuite *suite = new BTestSuite("Translators");
|
||||
|
||||
// ##### Add test suites here #####
|
||||
suite->addTest("BMPTranslator", BMPTranslatorTest::Suite());
|
||||
suite->addTest("STXTTranslator", STXTTranslatorTest::Suite());
|
||||
|
||||
return suite;
|
||||
}
|
||||
Reference in New Issue
Block a user