Skip to content
Snippets Groups Projects
Commit a711eb45 authored by Ryan Hunt's avatar Ryan Hunt
Browse files

Move tests to compile-tests

parent 0aada672
No related branches found
No related tags found
No related merge requests found
File moved
File moved
File moved
File moved
File moved
......@@ -9,8 +9,8 @@ def cbindgen(rust_src, out):
subprocess.check_output(["cargo", "run", "--", rust_src, "-o", out])
def gxx(src):
subprocess.check_output(["g++", "-c", src, "-o", "tests/tmp.o"])
os.remove("tests/tmp.o")
subprocess.check_output(["g++", "-c", src, "-o", "compile-tests/tmp.o"])
os.remove("compile-tests/tmp.o")
def run_compile_test(rust_src, leave_output):
out = rust_src.replace(".rs", ".cpp")
......@@ -26,7 +26,7 @@ def run_compile_test(rust_src, leave_output):
return True
tests = glob.glob("tests/*.rs")
tests = glob.glob("compile-tests/*.rs")
num_pass = 0
num_fail = 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment