Files
allwpilib/test-scripts/README.md
Austin Shalit 4f951789fe Build testbench tests online inorder to improve speed (#2144)
* Attempt to build testbench tests online inorder to improve speed

* Fix contianer reference

* Start to remove jenkins shell script

* Change job names

* Remove sshpass

* Remove teststand code

* Copy test results back

* Fix build by using athena container

* Fail if any command fails

* Remove jenkins test script

* Remove name argument

* Fix param count

* Add build display name

* Fix scp to copy into dir

* Update display names

* Update stage name

* Fix test results scp

* Create local test report dir

* Remove commented out old code

* Remove force pseudo-terminal allocation

* Remove extra variables

* Update readme

* Remove old test runs

* Update license header
2019-12-06 17:46:29 -05:00

1.0 KiB

WPILib Test Scripts

Overview

These test scripts are designed to allow the user of the WPILib test framework to quickly and easily deploy and run their tests on the WPI roboRIO.

If you deploy code to the test stand using GradleRIO, you must remove the build artifacts in /home/lvuser, or you will break the test stand.

roboRIO Setup

The roboRIO on the test bench must be updated every time NI releases a new image.

  1. Use the roboRIO Imaging Tool to format the roboRIO with the lastest image.
  2. Set a static ip on the roboRIO web dashboard to 10.1.90.2
  3. Install Java on the roboRIO
    1. Download the JRE from Maven.
    2. Transfer the JRE ipk to the roboRIO with scp: scp <local path> admin@roboRIO-190-FRC.local:/tmp/frcjre.ipk
    3. Install the JRE: opkg install /tmp/frcjre.ipk
    4. Remove the ipk file: rm /tmp/frcjre.ipk
  4. Reboot the roboRIO