More C++ tests

Change-Id: I92ce014a8ebe1c3b97f27aa15476fc3101cc1f1c
This commit is contained in:
thomasclark
2014-06-07 17:37:51 -04:00
parent 09feff102f
commit a3e11f201e
13 changed files with 386 additions and 193 deletions

17
cmake/run-cpp-tests.sh Executable file
View File

@@ -0,0 +1,17 @@
#!/usr/bin/env bash
# Temporary method to deploy C++ integration tests to the RoboRIO
if [ $(which sshpass) ]
then
sshpass -p "" ssh admin@10.1.90.2 killall FRCUserProgram
sshpass -p "" scp target/cmake/wpilibc/wpilibC++IntegrationTests/FRCUserProgram admin@10.1.90.2:/home/admin
sshpass -p "" ssh admin@10.1.90.2 ./FRCUserProgram
else
ssh admin@10.1.90.2 killall FRCUserProgram
scp target/cmake/wpilibc/wpilibC++IntegrationTests/FRCUserProgram admin@10.1.90.2:/home/admin
ssh admin@10.1.90.2 ./FRCUserProgram
fi