diff --git a/scripts/test/test_photonlibcpp.py b/scripts/test/test_photonlibcpp.py index 0712376af5..994cbf31b0 100644 --- a/scripts/test/test_photonlibcpp.py +++ b/scripts/test/test_photonlibcpp.py @@ -19,8 +19,8 @@ def test_photonlibpy(): # assumes we have already installed the test binary via gradle via # checkPhotonlibIntegrationTestWindowsx86-64DebugGoogleTestExe ret = subprocess.run( - [os.path.abspath("..\\..\\photon-lib\\build\\install\\photonlibIntegrationTest\\linuxx86-64\\debug\\photonlibIntegrationTest.bat")], - cwd=os.path.abspath("..\\..\\"), + # todo: need a cross-platform way to do this, screm + ["cd", "../../", "&&", ".\\gradlew", 'checkPhotonlibIntegrationTestLinuxx86-64DebugGoogleTestExe'], shell=True, ) print(ret)