fix tests on Linux

This commit is contained in:
Damien Elmes 2020-11-04 21:39:41 +10:00
parent 927a44e36e
commit ecfeb71195

View file

@ -33,6 +33,10 @@ def _getExportFolder():
elif isMac:
dir = os.path.dirname(os.path.abspath(__file__))
return os.path.abspath(dir + "/../../Resources/web")
else:
if os.environ.get("TEST_TARGET"):
# running tests in bazel; we have no data
return "."
else:
raise Exception("couldn't find web folder")