Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alberto Ruiz Garcia
Firmware
Commits
1e2be407
Commit
1e2be407
authored
9 years ago
by
Daniel Agar
Committed by
Lorenz Meier
9 years ago
Browse files
Options
Downloads
Patches
Plain Diff
unit tests cleanup
-launch using top level make tests -ignore generated files
parent
d02ca5dd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.travis.yml
+1
-1
1 addition, 1 deletion
.travis.yml
Makefile
+7
-0
7 additions, 0 deletions
Makefile
unittests/.gitignore
+1
-0
1 addition, 0 deletions
unittests/.gitignore
unittests/run_tests.sh
+2
-2
2 additions, 2 deletions
unittests/run_tests.sh
with
11 additions
and
3 deletions
.travis.yml
+
1
−
1
View file @
1e2be407
...
...
@@ -109,7 +109,7 @@ script:
&& echo 'Building UAVCAN node firmware..' && (git clone https://github.com/thiemar/vectorcontrol && cd vectorcontrol && BOARD=s2740vc_1_0 make -s && BOARD=px4esc_1_6 make -s && ../Tools/uavcan_copy.sh)
&& echo 'Building NuttX px4fmu-v4 Firmware..' && make px4fmu-v4_default
&& echo 'Building NuttX px4-stm32f4discovery Firmware..' && make px4-stm32f4discovery_default
&& echo 'Running Tests..' &&
cd unittests && ./run_tests.sh; cd ..
&& echo 'Running Tests..' &&
make tests
;
fi
...
...
This diff is collapsed.
Click to expand it.
Makefile
+
7
−
0
View file @
1e2be407
...
...
@@ -194,6 +194,13 @@ run_sitl_ros: sitl_deprecation
check_format
:
@
./Tools/check_code_style.sh
check
:
check_format
tests
tests
:
posix_sitl_default
@
(
cd
unittests
&&
./run_tests.sh
)
clean
:
@
rm
-rf
build_
*
/
@
(
cd
NuttX/nuttx
&&
make clean
)
...
...
This diff is collapsed.
Click to expand it.
unittests/.gitignore
+
1
−
0
View file @
1e2be407
./obj/*
gtest_main.a
dsm_test
mixer_test
sf0x_test
sbus2_test
...
...
This diff is collapsed.
Click to expand it.
unittests/run_tests.sh
+
2
−
2
View file @
1e2be407
#!/bin/sh
cmake
.
make clean
make all
-j4
make
--no-print-directory
clean
make
--no-print-directory
all
-j4
set
-e
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment