Skip to content

Commit

Permalink
fix path for test
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniele Giunchi committed Oct 11, 2010
1 parent 977e910 commit 7eef005
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions mafQA/mafQATest/mafQAManagerTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@

#ifdef WIN32
#define TEST_LIBRARY_NAME "mafPluginTest_d.dll"
#define TEST_SCRIPT_NAME "../../../mafQA/mafQATest/AppExample.bat"
#define TEST_SCRIPT_NAME "../../../MAF/mafQA/mafQATest/AppExample.bat"
#else
#ifdef __APPLE__
#define TEST_LIBRARY_NAME "libmafPluginTest_debug.dylib"
#define TEST_SCRIPT_NAME "../../../mafQA/mafQATest/AppExample"
#define TEST_SCRIPT_NAME "../../../MAF/mafQA/mafQATest/AppExample"
#else
#define TEST_LIBRARY_NAME "libmafPluginTest_debug.so"
#define TEST_SCRIPT_NAME "../../../mafQA/mafQATest/AppExample.sh"
#define TEST_SCRIPT_NAME "../../../MAF/mafQA/mafQATest/AppExample.sh"
#endif
#endif

Expand Down Expand Up @@ -128,12 +128,12 @@ void mafQAManagerTest::pollUrlTest() {
void mafQAManagerTest::runPythonScriptTest() {
mafMsgDebug() << "Asynchronous:";
mafStringList argList;
int res = m_QAManager->runPythonScript("../../../mafQA/scriptsQA/GeneratorQA.py",argList);
int res = m_QAManager->runPythonScript("../../../MAF/mafQA/scriptsQA/GeneratorQA.py",argList);
QVERIFY(res == 0);

//launch sync
mafMsgDebug() << "Synchronous:";
res = m_QAManager->runPythonScript("../../../mafQA/scriptsQA/GeneratorQA.py",argList, true);
res = m_QAManager->runPythonScript("../../../MAF/mafQA/scriptsQA/GeneratorQA.py",argList, true);
QVERIFY(res == 0);
}

Expand Down

0 comments on commit 7eef005

Please sign in to comment.