aboutsummaryrefslogtreecommitdiff
path: root/Tools/tests-host/mixer_test.cpp
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2013-10-12 20:19:34 +0200
committerLorenz Meier <lm@inf.ethz.ch>2013-10-12 20:19:34 +0200
commit42b75ae8963b2f711a72ac1cb6cfd1b44bd826b2 (patch)
tree8274013af87a38e890f1b5803efcf7174877b08f /Tools/tests-host/mixer_test.cpp
parent7d6a4ece6b1875bab62c4dbcb95fcc9fa5661674 (diff)
downloadpx4-firmware-42b75ae8963b2f711a72ac1cb6cfd1b44bd826b2.tar.gz
px4-firmware-42b75ae8963b2f711a72ac1cb6cfd1b44bd826b2.tar.bz2
px4-firmware-42b75ae8963b2f711a72ac1cb6cfd1b44bd826b2.zip
Added host-building mixer test
Diffstat (limited to 'Tools/tests-host/mixer_test.cpp')
-rw-r--r--Tools/tests-host/mixer_test.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/Tools/tests-host/mixer_test.cpp b/Tools/tests-host/mixer_test.cpp
new file mode 100644
index 000000000..5d92040f1
--- /dev/null
+++ b/Tools/tests-host/mixer_test.cpp
@@ -0,0 +1,12 @@
+#include <systemlib/mixer/mixer.h>
+#include <systemlib/err.h>
+
+extern int test_mixer(int argc, char *argv[]);
+
+int main(int argc, char *argv[]) {
+ warnx("Host execution started");
+
+ char* args[] = {argv[0], "../../ROMFS/px4fmu_common/mixers/IO_pass.mix"};
+
+ test_mixer(2, args);
+} \ No newline at end of file