mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
* 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
20 lines
1.0 KiB
Markdown
20 lines
1.0 KiB
Markdown
# 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.](https://frcdocs.wpi.edu/en/latest/docs/getting-started/getting-started-frc-control-system/imaging-your-roborio.html)
|
|
2. Set a static ip on the roboRIO web dashboard to `10.1.90.2`
|
|
2. Install Java on the roboRIO
|
|
1. [Download the JRE from Maven.](https://frcmaven.wpi.edu/artifactory/list/release/edu/wpi/first/jdk/)
|
|
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`
|
|
3. Reboot the roboRIO
|