testing: Cli Tests Are Now Integrated
Signed-off-by: Will Hawkins <hawkinsw@obs.cr>
This commit is contained in:
@@ -1,14 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
actual_output=`swift run p4ce --plain compile simple.p4 -I TestData/Sources/`
|
||||
expected_output=`cat TestData/Cli/simple.golden`
|
||||
if [ "${expected_output}" != "${actual_output}" ]; then
|
||||
echo "Expected: ${expected_output}"
|
||||
echo "Actual: ${actual_output}"
|
||||
echo "Cli Tests: Error"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "Cli Tests: Success"
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user