makefile for sim
This commit is contained in:
parent
ecb3a0c47b
commit
0f2a8d7177
5
Makefile
5
Makefile
|
@ -5,9 +5,12 @@ TEST_SIM_PKG=https://course.ccs.neu.edu/cs3700sp20/archive/bgp-sim.tar.gz
|
||||||
|
|
||||||
all:
|
all:
|
||||||
|
|
||||||
$(TESTS_DIR):
|
$(TESTS_DIR): $(TESTS_DIR)/sim
|
||||||
mkdir -p $(TESTS_DIR)
|
mkdir -p $(TESTS_DIR)
|
||||||
sudo ./scripts/nspawn-support.sh create $(TESTS_DIR)/container
|
sudo ./scripts/nspawn-support.sh create $(TESTS_DIR)/container
|
||||||
|
|
||||||
|
$(TESTS_DIR)/sim:
|
||||||
|
mkdir -p $(TESTS_DIR)
|
||||||
cd $(TESTS_DIR) && wget -O bgp-sim.tar.gz $(TEST_SIM_PKG)
|
cd $(TESTS_DIR) && wget -O bgp-sim.tar.gz $(TEST_SIM_PKG)
|
||||||
cd $(TESTS_DIR) && tar xf bgp-sim.tar.gz
|
cd $(TESTS_DIR) && tar xf bgp-sim.tar.gz
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue