From 18e7bfc4b0aad9f14f4248bf8e8a9483b55ed65f Mon Sep 17 00:00:00 2001 From: James Turner Date: Wed, 4 Aug 2021 15:10:18 +0100 Subject: [PATCH] Fix tests build --- test_suite/system_tests/Main/testOptions.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test_suite/system_tests/Main/testOptions.cxx b/test_suite/system_tests/Main/testOptions.cxx index 2cae99786..715fbffaf 100644 --- a/test_suite/system_tests/Main/testOptions.cxx +++ b/test_suite/system_tests/Main/testOptions.cxx @@ -67,7 +67,7 @@ void OptionsTests::testLoadDefaultAircraft() } fgInitAircraftPaths(false); - fgInitAircraft(false); + fgInitAircraft(false, false); CPPUNIT_ASSERT_EQUAL("c172p"s, string{fgGetString("/sim/aircraft")}); CPPUNIT_ASSERT_EQUAL("c172p"s, string{fgGetString("/sim/aircraft-id")}); @@ -89,7 +89,7 @@ void OptionsTests::testOptionAircraftWithAircraftDir() } fgInitAircraftPaths(false); - fgInitAircraft(false); + fgInitAircraft(false, false); CPPUNIT_ASSERT_EQUAL("ufo"s, string{fgGetString("/sim/aircraft")}); CPPUNIT_ASSERT_EQUAL("ufo"s, string{fgGetString("/sim/aircraft-id")}); @@ -111,7 +111,7 @@ void OptionsTests::testOptionAircraftWithFGAircraft() } fgInitAircraftPaths(false); - fgInitAircraft(false); + fgInitAircraft(false, false); CPPUNIT_ASSERT_EQUAL("ufo"s, string{fgGetString("/sim/aircraft")}); CPPUNIT_ASSERT_EQUAL("ufo"s, string{fgGetString("/sim/aircraft-id")}); @@ -136,7 +136,7 @@ void OptionsTests::testOptionAircraftUnqualified() } fgInitAircraftPaths(false); - fgInitAircraft(false); + fgInitAircraft(false, false); CPPUNIT_ASSERT_EQUAL("bob"s, string{fgGetString("/sim/aircraft")}); CPPUNIT_ASSERT_EQUAL("org.fg.test.catalog1.bob"s, string{fgGetString("/sim/aircraft-id")}); @@ -161,7 +161,7 @@ void OptionsTests::testOptionAircraftFullyQualified() } fgInitAircraftPaths(false); - fgInitAircraft(false); + fgInitAircraft(false, false); CPPUNIT_ASSERT_EQUAL("bob"s, string{fgGetString("/sim/aircraft")}); CPPUNIT_ASSERT_EQUAL("org.fg.test.catalog1.bob"s, string{fgGetString("/sim/aircraft-id")});