forked from microsoft/CNTK
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tests/EndToEndTests/UnitTests/run-boost-test-common: add and use
- Loading branch information
1 parent
148d871
commit 887a2b9
Showing
7 changed files
with
21 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,6 @@ | ||
#!/bin/bash | ||
|
||
. $TEST_ROOT_DIR/run-test-common | ||
. $TEST_DIR/../run-boost-test-common | ||
|
||
if [ "$OS" == "Windows_NT" ]; then | ||
TEST_BIN_DIR=$TEST_BIN_DIR/unittests | ||
fi | ||
|
||
$TEST_BIN_DIR/brainscripttests --report_level=detailed | ||
boosttestrun brainscripttests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,6 @@ | ||
#!/bin/bash | ||
|
||
. $TEST_ROOT_DIR/run-test-common | ||
. $TEST_DIR/../run-boost-test-common | ||
|
||
if [ "$OS" == "Windows_NT" ]; then | ||
TEST_BIN_DIR=$TEST_BIN_DIR/unittests | ||
fi | ||
|
||
$TEST_BIN_DIR/evaltests --report_level=detailed | ||
boosttestrun evaltests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,6 @@ | ||
#!/bin/bash | ||
|
||
. $TEST_ROOT_DIR/run-test-common | ||
. $TEST_DIR/../run-boost-test-common | ||
|
||
if [ "$OS" == "Windows_NT" ]; then | ||
TEST_BIN_DIR=$TEST_BIN_DIR/unittests | ||
fi | ||
|
||
$TEST_BIN_DIR/mathtests --report_level=detailed | ||
boosttestrun mathtests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,6 @@ | ||
#!/bin/bash | ||
|
||
. $TEST_ROOT_DIR/run-test-common | ||
. $TEST_DIR/../run-boost-test-common | ||
|
||
if [ "$OS" == "Windows_NT" ]; then | ||
TEST_BIN_DIR=$TEST_BIN_DIR/unittests | ||
fi | ||
|
||
$TEST_BIN_DIR/networktests --report_level=detailed | ||
boosttestrun networktests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,6 @@ | ||
#!/bin/bash | ||
|
||
. $TEST_ROOT_DIR/run-test-common | ||
. $TEST_DIR/../run-boost-test-common | ||
|
||
if [ "$OS" == "Windows_NT" ]; then | ||
TEST_BIN_DIR=$TEST_BIN_DIR/unittests | ||
fi | ||
|
||
$TEST_BIN_DIR/readertests --report_level=detailed | ||
boosttestrun readertests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
boosttestrun() | ||
{ | ||
name=$1 | ||
local testpath=$TEST_BIN_DIR | ||
if [ "$OS" == "Windows_NT" ]; then | ||
testpath+=/unittests | ||
fi | ||
|
||
$testpath/$name --report_level=detailed | ||
} |