mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2025-05-19 11:52:25 +02:00
parent
0f6884f771
commit
1a4dc3a888
@ -1,8 +1,8 @@
|
|||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
|
from glob import glob
|
||||||
import sys
|
import sys
|
||||||
import os
|
import os
|
||||||
import os.path
|
import pipes
|
||||||
from glob import glob
|
|
||||||
import optparse
|
import optparse
|
||||||
|
|
||||||
VALGRIND_CMD = 'valgrind --tool=memcheck --leak-check=yes --undef-value-errors=yes '
|
VALGRIND_CMD = 'valgrind --tool=memcheck --leak-check=yes --undef-value-errors=yes '
|
||||||
@ -56,7 +56,7 @@ def runAllTests( jsontest_executable_path, input_dir = None,
|
|||||||
options = is_json_checker_test and '--json-checker' or ''
|
options = is_json_checker_test and '--json-checker' or ''
|
||||||
pipe = os.popen( "%s%s %s %s" % (
|
pipe = os.popen( "%s%s %s %s" % (
|
||||||
valgrind_path, jsontest_executable_path, options,
|
valgrind_path, jsontest_executable_path, options,
|
||||||
input_path) )
|
pipes.quote(input_path)))
|
||||||
process_output = pipe.read()
|
process_output = pipe.read()
|
||||||
status = pipe.close()
|
status = pipe.close()
|
||||||
if is_json_checker_test:
|
if is_json_checker_test:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user