From 23dc2db036d239fbd1b53821c2795142e38188de Mon Sep 17 00:00:00 2001 From: JD Russo Date: Mon, 4 Aug 2014 13:28:59 -0700 Subject: [PATCH] autotest.py: changed 'prerequesites' to correct spelling In a few places in autotest, the word 'prerequisites' was misspelled as 'prerequesites'. This is just a simple commit to fix that spelling. --- Tools/autotest/autotest.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Tools/autotest/autotest.py b/Tools/autotest/autotest.py index a2515964c4..2445581189 100755 --- a/Tools/autotest/autotest.py +++ b/Tools/autotest/autotest.py @@ -87,9 +87,9 @@ def convert_gpx(): return True -def test_prerequesites(): +def test_prerequisites(): '''check we have the right directories and tools to run tests''' - print("Testing prerequesites") + print("Testing prerequisites") util.mkdir_p(util.reltopdir('../buildlogs')) return True @@ -120,7 +120,7 @@ opts, args = parser.parse_args() import arducopter, arduplane, apmrover2 steps = [ - 'prerequesites', + 'prerequisites', 'build.All', 'build.Binaries', 'build.Examples', @@ -165,8 +165,8 @@ def skip_step(step): def run_step(step): '''run one step''' - if step == "prerequesites": - return test_prerequesites() + if step == "prerequisites": + return test_prerequisites() if step == 'build.ArduPlane': return util.build_SIL('ArduPlane')