2014-06-02 10:12:08 -04:00
|
|
|
#!/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
|
2014-06-07 17:37:51 -04:00
|
|
|
sshpass -p "" scp target/cmake/wpilibc/wpilibC++IntegrationTests/FRCUserProgram admin@10.1.90.2:/home/admin
|
2014-06-16 10:24:48 -04:00
|
|
|
sshpass -p "" ssh admin@10.1.90.2 ./FRCUserProgram $*
|
2014-06-02 10:12:08 -04:00
|
|
|
else
|
|
|
|
|
ssh admin@10.1.90.2 killall FRCUserProgram
|
2014-06-07 17:37:51 -04:00
|
|
|
scp target/cmake/wpilibc/wpilibC++IntegrationTests/FRCUserProgram admin@10.1.90.2:/home/admin
|
2014-06-16 10:24:48 -04:00
|
|
|
ssh admin@10.1.90.2 ./FRCUserProgram $*
|
2014-06-02 10:12:08 -04:00
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
2014-06-02 17:34:10 -04:00
|
|
|
|