diff --git a/generator/C/test/posix/Makefile b/generator/C/test/posix/Makefile index 2ff2081ecffdc272a426c1b660e2fad94c79ee29..febd25f48d120fd391b816bdcbbbe5d049c63727 100644 --- a/generator/C/test/posix/Makefile +++ b/generator/C/test/posix/Makefile @@ -39,6 +39,12 @@ testmav1.0_ardupilotmega: testmav.c testmav2.0_ardupilotmega: testmav.c $(CC) $(CFLAGS) -I../../include_v2.0 -I../../include_v2.0/ardupilotmega -o $@ testmav.c +testmav1.0_common: testmav.c + $(CC) $(CFLAGS) -I../../include_v1.0 -I../../include_v1.0/common -o $@ testmav.c + +testmav2.0_common: testmav.c + $(CC) $(CFLAGS) -I../../include_v2.0 -I../../include_v2.0/common -o $@ testmav.c + testmav2.0_minimal: testmav.c $(CC) $(CFLAGS) -I../../include_v2.0 -I../../include_v2.0/minimal -o $@ testmav.c diff --git a/test_gen_js.sh b/test_gen_js.sh index 1af490b4849a3c7fc40d8b02104ac6ba9c7f6263..c9a9871cf7b281f662664169dfc83c36c2cadc87 100755 --- a/test_gen_js.sh +++ b/test_gen_js.sh @@ -103,7 +103,8 @@ node generator/javascript/implementations/mavlink_common_v1.0/mavlink.tests.js > printf "${RED}Streaming C test data into JS-NextGen for pushBuffer/parseBuffer tests${NC}\n\n" sleep 1 pushd generator/C/test/posix > $OUT2 -./testmav1.0_ardupilotmega | grep '^fe' | node ../../../../examples/testparser.js ardupilotmega 1.0 $VERBOSITY +make testmav1.0_common testmav2.0_common testmav1.0_ardupilotmega testmav2.0_ardupilotmega +./testmav1.0_ardupilotmega | grep '^fe' | node ../../../../examples/testparser.js ardupilotmega 1.0 $VERBOSITY ./testmav2.0_ardupilotmega | grep '^fd' | node ../../../../examples/testparser.js ardupilotmega 2.0 $VERBOSITY ./testmav1.0_common | grep '^fe' | node ../../../../examples/testparser.js common 1.0 $VERBOSITY ./testmav2.0_common | grep '^fd' | node ../../../../examples/testparser.js common 2.0 $VERBOSITY