diff --git a/test/BUILD.bazel b/test/BUILD.bazel index 1e83c2d..269cd86 100644 --- a/test/BUILD.bazel +++ b/test/BUILD.bazel @@ -3,8 +3,6 @@ filegroup( srcs = glob(["data/**", "jsonchecker/**"], exclude=["**/*.json"]), ) -######## - [py_test( name = "runjson_%s_test" % "_".join(f.split("/")), srcs = ["runjsontests.py"], diff --git a/test/runjsontests.py b/test/runjsontests.py index 3099195..14275ec 100644 --- a/test/runjsontests.py +++ b/test/runjsontests.py @@ -102,8 +102,8 @@ def runAllTests(jsontest_executable_path, input_path = None, tests = [ test for test in tests - if os.path.basename(test) not in known and - os.path.basename(os.path.dirname(test)) == "jsonchecker" + if os.path.basename(test) not in known or + os.path.basename(os.path.dirname(test)) != "jsonchecker" ] failed_tests = []