From be27e6669fc433ee70309e6b94933c307907ca7b Mon Sep 17 00:00:00 2001 From: Christian Dietrich <christian.dietrich@informatik.uni-erlangen.de> Date: Fri, 27 Jan 2017 08:54:53 +0100 Subject: [PATCH] experiment: configure can fail --- experiments/Makefile | 6 +++--- experiments/lib.py | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/experiments/Makefile b/experiments/Makefile index fecc8c9..b492930 100644 --- a/experiments/Makefile +++ b/experiments/Makefile @@ -46,11 +46,11 @@ hist_$3: hist_$3_$2 endef -$(foreach project,LUA MBEDTLS SAMBA MUSL POSTGRESQL CPYTHON,\ +$(foreach project,LUA MBEDTLS SAMBA MUSL POSTGRESQL CPYTHON BASH,\ $(foreach mode,normal ccache clang-hash ccache-clang-hash,\ $(eval $(call hist_template,$(project),$(mode),$(shell echo $(project) | tr '[:upper:]' '[:lower:]' ))))) analyze: - ./analyze_results.py -v -d ../versuchung-data -s \ - --result '../versuchung-data/IncrementalCompilation-*' + ./analyze_results.py -d ../versuchung-data -s \ + --incremental '../versuchung-data/IncrementalCompilation-*' --dummy diff --git a/experiments/lib.py b/experiments/lib.py index bc70310..bb63dde 100644 --- a/experiments/lib.py +++ b/experiments/lib.py @@ -1,7 +1,7 @@ import os import fnmatch import time -from versuchung.execute import shell, CommandFailed +from versuchung.execute import shell, CommandFailed, shell_failok import logging def read_hash_directory(hash_dir, remove_keys = []): @@ -49,7 +49,7 @@ class ClangHashHelper: if self.project_name() == "postgresql": shell("cd %s; ./configure --enable-depend", path) elif self.project_name() in ("musl", "bash", "samba"): - shell("cd %s; ./configure", path) + shell_failok("cd %s; ./configure", path) elif self.project_name() in ("cpython",): shell("cd %s; mkdir -p build build/Modules;", path) shell("cd %s; cp -u Modules/Setup.dist build/Modules/Setup", path) -- GitLab