From cd788a1a62025fed3832672cb539dda4c4ce1329 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Tue, 21 Jun 2016 16:03:10 -0700 Subject: test only c api examples; c++ api is internal and unstable, it is tested by our own codebase --- check.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'check.py') diff --git a/check.py b/check.py index 7220ad2ed..9dca8825c 100755 --- a/check.py +++ b/check.py @@ -665,12 +665,7 @@ print '\n[ checking example testcases... ]\n' for t in sorted(os.listdir(os.path.join('test', 'example'))): output_file = os.path.join('bin', 'example') cmd = ['-Isrc', '-g', '-lasmjs', '-lsupport', '-Llib/.', '-pthread', '-o', output_file] - if t.endswith('.cpp'): - cmd = [os.path.join('test', 'example', t), - os.path.join('src', 'passes', 'pass.cpp'), - os.path.join('src', 'wasm.cpp'), - os.path.join('src', 'passes', 'Print.cpp')] + cmd - elif t.endswith('.c'): + if t.endswith('.c'): # build the C file separately extra = [os.environ.get('CC') or 'gcc', os.path.join('test', 'example', t), '-c', '-o', 'example.o', -- cgit v1.2.3