Get the tests to a relative directory
commit95fae37488cc037542fe1c11eb1652a29d8cde11
authorErick Tryzelaar <erick.tryzelaar@gmail.com>
dateWed 26 Oct 2016, 10:07 (10 years ago)
parentc258e9a
run_tests.py+1−1
@@ -7,7 +7,7 @@ import sys
77from os import listdir
88from time import strftime
99
10−BASE_DIR = "/Users/nst/Projects/JSONTestSuite/"
10+BASE_DIR = os.path.abspath(os.path.dirname(__file__))
1111PARSERS_DIR = os.path.join(BASE_DIR, "parsers")
1212TEST_CASES_DIR_PATH = os.path.join(BASE_DIR, "test_parsing")
1313LOGS_DIR_PATH = os.path.join(BASE_DIR, "results")