Tools: use renamed autotest step names

This commit is contained in:
Peter Barker 2020-03-27 13:46:12 +11:00 committed by Peter Barker
parent 2d29cc3eda
commit 87d363c3f4
3 changed files with 12 additions and 12 deletions

View File

@ -200,7 +200,7 @@ class BuilderCopter(Builder):
specs = [
{
"config": 'ArduCopter/config.h',
"autotest_target": "build.ArduCopter",
"autotest_target": "build.Copter",
"target_binary": "bin/arducopter",
"reverse-deps": {
"AC_FENCE": ["AC_AVOID_ENABLED", "MODE_FOLLOW_ENABLED"],
@ -243,19 +243,19 @@ specs = [
},
{
"config": 'ArduPlane/config.h',
"autotest_target": "build.ArduPlane",
"autotest_target": "build.Plane",
"target_binary": "bin/arduplane",
"reverse-deps": {
},
}, {
"config": 'APMrover2/config.h',
"autotest_target": "build.APMrover2",
"autotest_target": "build.Rover",
"target_binary": "bin/ardurover",
"reverse-deps": {
},
}, {
"config": 'ArduSub/config.h',
"autotest_target": "build.ArduSub",
"autotest_target": "build.Sub",
"target_binary": "bin/ardusub",
"reverse-deps": {
"AC_FENCE": ["AVOIDANCE_ENABLED"],
@ -264,7 +264,7 @@ specs = [
},
}, {
"config": 'AntennaTracker/config.h',
"autotest_target": "build.AntennaTracker",
"autotest_target": "build.Tracker",
"target_binary": "bin/antennatracker",
"reverse-deps": {
},

View File

@ -29,12 +29,12 @@ rm -rf build
./Tools/autotest/autotest.py $OPTS build.unit_tests run.unit_tests
# Run main vehicle tests
./Tools/autotest/autotest.py $OPTS build.ArduPlane fly.ArduPlane fly.QuadPlane
./Tools/autotest/autotest.py $OPTS build.ArduSub dive.ArduSub
./Tools/autotest/autotest.py $OPTS build.ArduCopter fly.ArduCopter fly.ArduCopter
./Tools/autotest/autotest.py $OPTS build.Helicopter fly.CopterAVC
./Tools/autotest/autotest.py $OPTS build.AntennaTracker test.AntennaTracker
./Tools/autotest/autotest.py $OPTS build.APMrover2 drive.APMrover2
./Tools/autotest/autotest.py $OPTS build.Plane test.Plane test.QuadPlane
./Tools/autotest/autotest.py $OPTS build.Sub test.Sub
./Tools/autotest/autotest.py $OPTS build.Copter test.Copter
./Tools/autotest/autotest.py $OPTS build.Helicopter test.Helicopter
./Tools/autotest/autotest.py $OPTS build.Tracker test.Tracker
./Tools/autotest/autotest.py $OPTS build.Rover test.Rover
#TODO add any other execution path/s we can to maximise the actually
# used code, can we run other tests or things? Replay, perhaps?

2
Vagrantfile vendored
View File

@ -9,7 +9,7 @@
# time (cd /vagrant && ./waf configure --board=fmuv3 && ./waf build --target=bin/ardusub) # ~ minutes (after building fmuv2)
# time (cd /vagrant && ./waf configure --board=navio2 && ./waf build --target=bin/arduplane)
# time (cd /vagrant && ./Tools/autotest/sim_vehicle.py --map --console -v ArduPlane -f jsbsim) # should test JSBSim
# time (cd /vagrant && ./Tools/autotest/autotest.py build.APMrover2 drive.APMrover2)
# time (cd /vagrant && ./Tools/autotest/autotest.py build.Rover test.Rover)
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"