mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
tests: fix incorrect relative path names
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
1c8c6f9551
commit
01fb69e198
1 changed files with 4 additions and 4 deletions
|
@ -17,9 +17,9 @@
|
|||
void TestProfile::testProfileExport()
|
||||
{
|
||||
prefs.planner_deco_mode = BUEHLMANN;
|
||||
parse_file("../dives/abitofeverything.ssrf", &dive_table, &trip_table, &dive_site_table, &device_table, &filter_preset_table);
|
||||
parse_file(SUBSURFACE_TEST_DATA "/dives/abitofeverything.ssrf", &dive_table, &trip_table, &dive_site_table, &device_table, &filter_preset_table);
|
||||
save_profiledata("exportprofile.csv", false);
|
||||
QFile org("../dives/exportprofilereference.csv");
|
||||
QFile org(SUBSURFACE_TEST_DATA "/dives/exportprofilereference.csv");
|
||||
QCOMPARE(org.open(QFile::ReadOnly), true);
|
||||
QFile out("exportprofile.csv");
|
||||
QCOMPARE(out.open(QFile::ReadOnly), true);
|
||||
|
@ -33,9 +33,9 @@ void TestProfile::testProfileExport()
|
|||
void TestProfile::testProfileExportVPMB()
|
||||
{
|
||||
prefs.planner_deco_mode = VPMB;
|
||||
parse_file("../dives/abitofeverything.ssrf", &dive_table, &trip_table, &dive_site_table, &device_table, &filter_preset_table);
|
||||
parse_file(SUBSURFACE_TEST_DATA "/dives/abitofeverything.ssrf", &dive_table, &trip_table, &dive_site_table, &device_table, &filter_preset_table);
|
||||
save_profiledata("exportprofileVPMB.csv", false);
|
||||
QFile org("../dives/exportprofilereferenceVPMB.csv");
|
||||
QFile org(SUBSURFACE_TEST_DATA "/dives/exportprofilereferenceVPMB.csv");
|
||||
QCOMPARE(org.open(QFile::ReadOnly), true);
|
||||
QFile out("exportprofileVPMB.csv");
|
||||
QCOMPARE(out.open(QFile::ReadOnly), true);
|
||||
|
|
Loading…
Reference in a new issue