Skip to content

Commit 2bb4044

Browse files
committed
Update check target to check starter code
1 parent 11514e2 commit 2bb4044

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ install:
1212
- make deps
1313

1414
script:
15-
- make check-solution
15+
- make check

Makefile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,12 @@ solution-revert:
163163
cp -r working_copy/* ./
164164
rm -rf working_copy/
165165

166-
check-solution:
166+
check:
167167
make reset
168+
# P4 starter code and app should compile
169+
make p4-build
170+
make app-build
171+
# Check solution
168172
make solution-apply
169173
make start
170174
make p4-build
@@ -175,7 +179,7 @@ check-solution:
175179
sleep 10
176180
make netcfg
177181
sleep 10
178-
# The first ping might fail because of a known race condition in the
182+
# The first ping(s) might fail because of a known race condition in the
179183
# L2BridgingComponenet. Ping all hosts.
180184
-util/mn-cmd h1a ping -c 1 2001:1:1::b
181185
util/mn-cmd h1a ping -c 1 2001:1:1::b

0 commit comments

Comments
 (0)