Commit e7c6e658 authored by Antoine Kaufmann's avatar Antoine Kaufmann
Browse files

experiments: create ready file only when experiment was successful

parent a71270c0
......@@ -12,9 +12,9 @@ BUILDDIR := build
OUTDIR := out
GUESTS_TARS := $(addprefix $(BUILDDIR)/,$(addsuffix .tar, $(GUESTS)))
EXPERIMENTS_OUTPUTS := $(addprefix $(OUTDIR)/,$(EXPERIMENTS))
EXPERIMENTS_READY := $(addprefix $(OUTDIR)/,$(addsuffix /ready,$(EXPERIMENTS)))
all: $(GUESTS_TARS) $(EXPERIMENTS_OUTPUTS)
all: $(GUESTS_TARS) $(EXPERIMENTS_READY)
clean:
rm -rf $(BUILDDIR) $(OUTDIR)
......@@ -22,10 +22,9 @@ clean:
#######################################
# Running experiments
run: $(EXPERIMENTS)
$(OUTDIR)/%: experiments/%.sh $(GUESTS_TARS)
$(OUTDIR)/%/ready: experiments/%.sh $(GUESTS_TARS)
bash $<
touch $@
#######################################
# Guest Tars
......
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