Commit Graph

17 Commits

Author SHA1 Message Date
Bernard Davison cc050c4781 Commenting out tests that are known to fail on Mac due to JSBSim. 2012-03-19 21:34:54 +11:00
Bernard Davison e45fb91b64 Getting a little further into the process of testing the hardware. Now we need to read and write to the Ivy bus to run the actual tests.
Then there's the cleanup to do to make this all much easier to do in the future to more boards...
2012-03-08 00:17:12 +11:00
Bernard Davison 9a3027ca0a Merge branch 'hardware_test' of github.com:paparazzi/paparazzi into hardware_test 2012-03-07 20:17:33 +11:00
Bernard Davison d315c757aa Merge branch 'hardware_test' of github.com:paparazzi/paparazzi into hardware_test 2012-03-07 10:25:28 +11:00
Bernard Davison 569380667a Forcing make test to use /usr/bin/perl instead of the perl from the path.
This is required since we could be picking up Perl from /opt/paparazzi/bin/perl which won't have the required modules installed.
2012-03-07 10:24:55 +11:00
Bernard Davison 378ee1344a Adding the Ivy perl module. This requires that IO::Socket::Multicast is installed on the Machine. I'm not adding that into the repo as it's needs to be compiled and is too much work and the Ivy module isn't in CPAN for some unknown reason. 2012-03-07 00:26:19 +11:00
Bernard Davison c83bf91435 cleaning up which targets are built a little more. 2012-03-05 23:28:44 +11:00
Bernard Davison b8946ba75c Adding a clean_ac before we try to build each target. Missed this by mistake. :-( 2012-03-05 22:04:53 +11:00
Bernard Davison 867c42bf4f Chaning how the verbosity of the tests is set. 2012-03-05 21:48:58 +11:00
Bernard Davison 3ef96b1003 Adding more perl modules
Adding more support modules that are needed by XML::Simple to read the
conf/conf.xml.example.
Adding these files into the repository means that users don't need to
install them on their computers.
2012-03-05 19:50:44 +11:00
Bernard Davison 567f51345b Adding the XML::Simple perl module
Adding the XML::Simple perl module into the tests/lib directory so that
normal users don't need to install it to run the tests.

Reformatted the conf/conf.xml.example file to not all be on single
lines for each config since this is now not required as we're parsing
the XML.
2012-03-05 17:37:37 +11:00
Bernard Davison 565d2ae84a Building all examples
Removed the early prototype of the tests.
Added the building of all example aircraft targets.
2012-03-05 16:37:31 +11:00
Bernard Davison bfdfc5a317 A couple of minor changes to make building easier. 2012-03-05 15:57:04 +11:00
Bernard Davison 6dbf1183bd Adding JUnit result output
The JUnit results can be added by specifying JUNIT=1 from the make
command line.

This is important as the Bamboo server can read JUnit results and
include them in the build reports.

This requires that the Perl module TAP::Formatter::JUnit is installed
on the host that the command is run on.
The JUnit results are created under tests/results and have the name
ABC.junit.xml
2012-03-05 15:08:23 +11:00
Bernard Davison 0c1bc178a4 Corrected a regex and added a couple of ignore items 2012-03-05 12:48:16 +11:00
Bernard Davison 49dcc05093 Some basic tests to check that Paparazzi compiled.
Some tests that check that the compile of the airframe config works as well as the upload of that airframe to a target board.
2012-03-05 12:11:05 +11:00
Bernard Davison debabf1697 Started adding a Perl test framework. Need to work out how to print JUnit test results though... 2012-03-04 23:11:18 +11:00