i.e. those that were not run yet or that changed
all: $(T:%=run-%) html
@echo "Run 'make plot' to generate graphs"
all: $(T:%=run-%) html
@echo "Run 'make plot' to generate graphs"
-TEST_FLAGS = -P -t all -l all
+TEST_FLAGS = -P -t all -l all $(if $(UPDATE),-u)
$(T:%=run-%):run-%:
./$* $(TEST_FLAGS)
$(T:%=run-%):run-%:
./$* $(TEST_FLAGS)
*) error "Unknown load specification: $2";;
esac;
shift 2;;
*) error "Unknown load specification: $2";;
esac;
shift 2;;
+ -u) OPT_UPDATE=1; shift;;
+ if [[ "$OPT_UPDATE" && -f plot.sh && ( plot.sh -nt $test.sh ) ]]; then echo "skiping: up-to-date"; return; fi
# Remove data from the last measurement
rm -rf *
# Kill load generators left possibly from the past runs
# Remove data from the last measurement
rm -rf *
# Kill load generators left possibly from the past runs