on master help sign in
Get the tests to a relative directory
95fae37Erick Tryzelaar
run_tests.py+1−1
@@ -7,7 +7,7 @@ import sys
7from os import listdir
7from os import listdir
8from time import strftime
8from time import strftime
9
9
10−BASE_DIR = "/Users/nst/Projects/JSONTestSuite/"
10+BASE_DIR = os.path.abspath(os.path.dirname(__file__))
11PARSERS_DIR = os.path.join(BASE_DIR, "parsers")
11PARSERS_DIR = os.path.join(BASE_DIR, "parsers")
12TEST_CASES_DIR_PATH = os.path.join(BASE_DIR, "test_parsing")
12TEST_CASES_DIR_PATH = os.path.join(BASE_DIR, "test_parsing")
13LOGS_DIR_PATH = os.path.join(BASE_DIR, "results")
13LOGS_DIR_PATH = os.path.join(BASE_DIR, "results")