mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
CAN isn't fully working yet, but this change is necessary to compile for the v9 image. Change-Id: Ife99686a7e7a9979c95ec7a395d597011090fa37
18 lines
531 B
Bash
Executable File
18 lines
531 B
Bash
Executable File
#!/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
|
|
|
|
|
|
|