Commit 9073c4bd authored by Jared Casper's avatar Jared Casper
Browse files

Check that the dataset helpers make runs successfully.

parent c6882114
......@@ -24,7 +24,11 @@ def compile_helper():
import os
import subprocess
path = os.path.abspath(os.path.dirname(__file__))
subprocess.run(['make', '-C', path])
ret = subprocess.run(['make', '-C', path])
if ret.returncode != 0:
print("Making C++ dataset helpers module failed, exiting.")
import sys
sys.exit(1)
def build_training_sample(sample,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment