Skip to content

Commit

Permalink
[#176] Added test-fsw command to makefile;
Browse files Browse the repository at this point in the history
  • Loading branch information
jlucas9 committed Jun 25, 2024
1 parent 9b56e75 commit 9834c85
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ endif

# The "LOCALTGTS" defines the top-level targets that are implemented in this makefile
# Any other target may also be given, in that case it will simply be passed through.
LOCALTGTS := all checkout clean clean-fsw clean-sim clean-gsw config debug fsw gsw launch log prep real-clean sim stop stop-gsw
LOCALTGTS := all checkout clean clean-fsw clean-sim clean-gsw config debug fsw gsw launch log prep real-clean sim stop stop-gsw test-fsw
OTHERTGTS := $(filter-out $(LOCALTGTS),$(MAKECMDGOALS))

# As this makefile does not build any real files, treat everything as a PHONY target
Expand Down Expand Up @@ -118,5 +118,10 @@ stop:
stop-gsw:
./scripts/stop_gsw.sh

test-fsw:
mkdir -p $(FSWBUILDDIR)
cd $(FSWBUILDDIR) && cmake $(PREP_OPTS) -DENABLE_UNIT_TESTS=true ../cfe
$(MAKE) --no-print-directory -C $(FSWBUILDDIR) mission-install

igniter:
./scripts/igniter_launch.sh
2 changes: 1 addition & 1 deletion components/sample
Submodule sample updated 0 files
2 changes: 1 addition & 1 deletion fsw/psp
Submodule psp updated 0 files

0 comments on commit 9834c85

Please sign in to comment.