Update autotests.
This commit is contained in:
parent
130814d206
commit
2eb0ee39fb
@ -52,11 +52,11 @@
|
||||
#define TEST_COD5 0
|
||||
#define TEST_COD6 0
|
||||
#define TEST_COD7 0
|
||||
#define TEST_COD8 1
|
||||
#define TEST_COD8 0
|
||||
#define TEST_COD9 0
|
||||
#define TEST_COD10 0
|
||||
#define TEST_COD11 0
|
||||
#define TEST_COD12 0
|
||||
#define TEST_COD12 1
|
||||
|
||||
// individual platforms
|
||||
#define TEST_360 0
|
||||
@ -211,7 +211,7 @@ int main(int argc, char *argv[]) {
|
||||
AutoTest_COD12_PC *test_cod12_pc = new AutoTest_COD12_PC();
|
||||
test_cod12_pc->setFastFileDirectory("G:/Fast Files/PC/COD12");
|
||||
test_cod12_pc->setZoneFileDirectory("./exports/cod12/PC");
|
||||
cod12Tests << test_cod12_pc;
|
||||
//cod12Tests << test_cod12_pc;
|
||||
pcTests << test_cod12_pc;
|
||||
|
||||
/**********************************/
|
||||
@ -269,7 +269,7 @@ int main(int argc, char *argv[]) {
|
||||
AutoTest_COD12_PS3 *test_cod12_ps3 = new AutoTest_COD12_PS3();
|
||||
test_cod12_ps3->setFastFileDirectory("G:/Fast Files/PS3/COD12");
|
||||
test_cod12_ps3->setZoneFileDirectory("./exports/cod12/PS3");
|
||||
cod12Tests << test_cod12_ps3;
|
||||
//cod12Tests << test_cod12_ps3;
|
||||
ps3Tests << test_cod12_ps3;
|
||||
|
||||
/**********************************/
|
||||
@ -383,41 +383,41 @@ int main(int argc, char *argv[]) {
|
||||
}
|
||||
}
|
||||
|
||||
// if (TEST_EVERYTHING || TEST_ALL_PLATFORMS || TEST_360) {
|
||||
// qDebug() << "-- RUNNING TEST_360 --";
|
||||
// foreach (auto test, xbox360Tests) {
|
||||
// QTest::qExec(test, argc, argv);
|
||||
// allResults.append({ test->metaObject()->className(), test->getCollectedTestResults() });
|
||||
// }
|
||||
// }
|
||||
// if (TEST_EVERYTHING || TEST_ALL_PLATFORMS || TEST_PC) {
|
||||
// qDebug() << "-- RUNNING TEST_PC --";
|
||||
// foreach (auto test, pcTests) {
|
||||
// QTest::qExec(test, argc, argv);
|
||||
// allResults.append({ test->metaObject()->className(), test->getCollectedTestResults() });
|
||||
// }
|
||||
// }
|
||||
// if (TEST_EVERYTHING || TEST_ALL_PLATFORMS || TEST_PS3) {
|
||||
// qDebug() << "-- RUNNING TEST_PS3 --";
|
||||
// foreach (auto test, ps3Tests) {
|
||||
// QTest::qExec(test, argc, argv);
|
||||
// allResults.append({ test->metaObject()->className(), test->getCollectedTestResults() });
|
||||
// }
|
||||
// }
|
||||
// if (TEST_EVERYTHING || TEST_ALL_PLATFORMS || TEST_WII) {
|
||||
// qDebug() << "-- RUNNING TEST_WII --";
|
||||
// foreach (auto test, wiiTests) {
|
||||
// QTest::qExec(test, argc, argv);
|
||||
// allResults.append({ test->metaObject()->className(), test->getCollectedTestResults() });
|
||||
// }
|
||||
// }
|
||||
// if (TEST_EVERYTHING || TEST_ALL_PLATFORMS || TEST_WIIU) {
|
||||
// qDebug() << "-- RUNNING TEST_WIIU --";
|
||||
// foreach (auto test, wiiUTests) {
|
||||
// QTest::qExec(test, argc, argv);
|
||||
// allResults.append({ test->metaObject()->className(), test->getCollectedTestResults() });
|
||||
// }
|
||||
// }
|
||||
if (TEST_EVERYTHING || TEST_ALL_PLATFORMS || TEST_360) {
|
||||
qDebug() << "-- RUNNING TEST_360 --";
|
||||
foreach (auto test, xbox360Tests) {
|
||||
QTest::qExec(test, argc, argv);
|
||||
allResults.append({ test->metaObject()->className(), test->getCollectedTestResults() });
|
||||
}
|
||||
}
|
||||
if (TEST_EVERYTHING || TEST_ALL_PLATFORMS || TEST_PC) {
|
||||
qDebug() << "-- RUNNING TEST_PC --";
|
||||
foreach (auto test, pcTests) {
|
||||
QTest::qExec(test, argc, argv);
|
||||
allResults.append({ test->metaObject()->className(), test->getCollectedTestResults() });
|
||||
}
|
||||
}
|
||||
if (TEST_EVERYTHING || TEST_ALL_PLATFORMS || TEST_PS3) {
|
||||
qDebug() << "-- RUNNING TEST_PS3 --";
|
||||
foreach (auto test, ps3Tests) {
|
||||
QTest::qExec(test, argc, argv);
|
||||
allResults.append({ test->metaObject()->className(), test->getCollectedTestResults() });
|
||||
}
|
||||
}
|
||||
if (TEST_EVERYTHING || TEST_ALL_PLATFORMS || TEST_WII) {
|
||||
qDebug() << "-- RUNNING TEST_WII --";
|
||||
foreach (auto test, wiiTests) {
|
||||
QTest::qExec(test, argc, argv);
|
||||
allResults.append({ test->metaObject()->className(), test->getCollectedTestResults() });
|
||||
}
|
||||
}
|
||||
if (TEST_EVERYTHING || TEST_ALL_PLATFORMS || TEST_WIIU) {
|
||||
qDebug() << "-- RUNNING TEST_WIIU --";
|
||||
foreach (auto test, wiiUTests) {
|
||||
QTest::qExec(test, argc, argv);
|
||||
allResults.append({ test->metaObject()->className(), test->getCollectedTestResults() });
|
||||
}
|
||||
}
|
||||
|
||||
QJsonObject root;
|
||||
root["project"] = "XPlor";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user