Regression tests
This commit is contained in:
parent
558ffee93b
commit
949fbdba14
1 changed files with 3 additions and 2 deletions
|
@ -224,7 +224,7 @@ def show_system_info():
|
||||||
|
|
||||||
def compile_and_report(src_dir):
|
def compile_and_report(src_dir):
|
||||||
print("# Compilation")
|
print("# Compilation")
|
||||||
cmake_flags = "-DCMAKE_BUILD_TYPE=Debug -DENABLE_ASAN=ON -DCMAKE_EXE_LINKER_FLAGS=-fuse-ld=gold"
|
cmake_flags = "-DCMAKE_BUILD_TYPE=Debug -DENABLE_ASAN=ON '-DCMAKE_CXX_FLAGS_DEBUG=-O0 -g3 -gdwarf-2 -fsanitize=address -fno-common -fno-omit-frame-pointer -rdynamic -Wshadow' '-DCMAKE_EXE_LINKER_FLAGS=-O0 -g3 -gdwarf-2 -fsanitize=address -fno-common -fno-omit-frame-pointer -rdynamic -fuse-ld=gold'"
|
||||||
print("Flags:", cmake_flags)
|
print("Flags:", cmake_flags)
|
||||||
start = time.time()
|
start = time.time()
|
||||||
c = run("rm -rf build; mkdir build; cd build; cmake {0} {1} ; make -j7".format(cmake_flags, src_dir), True)
|
c = run("rm -rf build; mkdir build; cd build; cmake {0} {1} ; make -j7".format(cmake_flags, src_dir), True)
|
||||||
|
@ -298,7 +298,7 @@ def main():
|
||||||
args.src_dir = "./tmpclone"
|
args.src_dir = "./tmpclone"
|
||||||
args.src_dir = os.path.realpath(args.src_dir)
|
args.src_dir = os.path.realpath(args.src_dir)
|
||||||
stop_xvfb()
|
stop_xvfb()
|
||||||
#check_busy()
|
check_busy()
|
||||||
show_timestamp()
|
show_timestamp()
|
||||||
show_git_info(args.src_dir)
|
show_git_info(args.src_dir)
|
||||||
show_system_info()
|
show_system_info()
|
||||||
|
@ -307,4 +307,5 @@ def main():
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
sys.stdout = os.fdopen(sys.stdout.fileno(), "w", 0)
|
||||||
main()
|
main()
|
||||||
|
|
Loading…
Reference in a new issue