Skip to content

Commit

Permalink
[tests] add/move some geodetic tests
Browse files Browse the repository at this point in the history
  • Loading branch information
flixr committed Dec 5, 2014
1 parent 1d9f7f0 commit 8f375b9
Show file tree
Hide file tree
Showing 5 changed files with 375 additions and 340 deletions.
338 changes: 0 additions & 338 deletions sw/airborne/test/test_geodetic.c

This file was deleted.

1 change: 1 addition & 0 deletions tests/math/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
test_pprz_math.run
test_pprz_geodetic.run
4 changes: 2 additions & 2 deletions tests/math/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ MATHLIB_PATH=$(PAPARAZZI_SRC)/var/build/math

#####################################################
# If you add more test files you add their names here
TESTS = test_pprz_math.run
TESTS = test_pprz_math.run test_pprz_geodetic.run

###################################################
# You should not need to touch the rest of the file
Expand All @@ -54,7 +54,7 @@ test: build_tests
done

%.run: %.c
$(CC) -L$(MATHLIB_PATH) -I$(PAPARAZZI_SRC)/sw/airborne -I$(PAPARAZZI_SRC)/sw/include tap.c $< -lpprzmath -o $@
$(CC) -L$(MATHLIB_PATH) -I$(PAPARAZZI_SRC)/sw/airborne -I$(PAPARAZZI_SRC)/sw/include $(USER_CFLAGS) tap.c $< -lpprzmath -o $@

clean:
$(Q)rm -f $(MATHLIB_PATH)/*.o $(MATHLIB_PATH)/libpprzmath.so
Expand Down
Loading

0 comments on commit 8f375b9

Please sign in to comment.