Skip to content

Commit

Permalink
[#176] Building test-fsw and trying to run ctest;
Browse files Browse the repository at this point in the history
  • Loading branch information
jlucas9 committed Jun 26, 2024
1 parent 9834c85 commit ab4b58d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ build
support/nos3_install.log
tmp
core.*
.cdskeyfile
.reservedkeyfile
.resetkeyfile
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ test-fsw:
mkdir -p $(FSWBUILDDIR)
cd $(FSWBUILDDIR) && cmake $(PREP_OPTS) -DENABLE_UNIT_TESTS=true ../cfe
$(MAKE) --no-print-directory -C $(FSWBUILDDIR) mission-install
cd $(FSWBUILDDIR)/amd64-linux-gnu/default_cpu1 && ctest -O ctest.log

igniter:
./scripts/igniter_launch.sh
2 changes: 1 addition & 1 deletion fsw/osal
Submodule osal updated 30 files
+1 −1 src/os/nos/inc/NOS-time.h
+1 −1 src/os/nos/src/NOS-time.c
+7 −6 src/os/nos/src/os-impl-tasks.c
+2 −0 src/tests/bin-sem-flush-test/bin-sem-flush-test.c
+2 −0 src/tests/bin-sem-test/bin-sem-test.c
+2 −0 src/tests/bin-sem-timeout-test/bin-sem-timeout-test.c
+2 −0 src/tests/condvar-test/condvar-test.c
+2 −0 src/tests/count-sem-test/count-sem-test.c
+2 −0 src/tests/count-sem-timeout-test/count-sem-timeout-test.c
+2 −0 src/tests/file-api-test/file-api-test.c
+2 −0 src/tests/file-sys-add-fixed-map-api-test/file-sys-add-fixed-map-api-test.c
+2 −0 src/tests/idmap-api-test/idmap-api-test.c
+2 −0 src/tests/mutex-test/mutex-test.c
+2 −0 src/tests/network-api-test/network-api-test.c
+2 −0 src/tests/osal-core-test/osal-core-test.c
+2 −0 src/tests/queue-test/queue-test.c
+2 −0 src/tests/select-test/select-test.c
+2 −0 src/tests/sem-speed-test/sem-speed-test.c
+2 −0 src/tests/shell-test/shell-test.c
+2 −0 src/tests/symbol-api-test/symbol-api-test.c
+2 −0 src/tests/time-base-api-test/time-base-api-test.c
+2 −0 src/tests/timer-add-api-test/timer-add-api-test.c
+2 −0 src/tests/timer-test/timer-test.c
+1 −0 src/unit-tests/oscore-test/ut_oscore_misc_test.c
+1 −0 src/unit-tests/osfile-test/ut_osfile_test.c
+1 −0 src/unit-tests/osfilesys-test/ut_osfilesys_test.c
+1 −0 src/unit-tests/osloader-test/ut_osloader_test.c
+1 −0 src/unit-tests/osnetwork-test/ut_osnetwork_test.c
+1 −0 src/unit-tests/ostimer-test/ut_ostimer_test.c
+19 −0 ut_assert/inc/utnos3.h
2 changes: 1 addition & 1 deletion scripts/docker_debug.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
source $SCRIPT_DIR/env.sh

mkdir -p $BASE_DIR/fsw/build
$DFLAGS_CPUS -v $BASE_DIR:$BASE_DIR -v $USER_NOS3_DIR:$USER_NOS3_DIR -w $BASE_DIR --name "nos3_debug" $DBOX bash
$DFLAGS_CPUS -v $BASE_DIR:$BASE_DIR -v $USER_NOS3_DIR:$USER_NOS3_DIR -w $BASE_DIR --sysctl fs.mqueue.msg_max=10000 --ulimit rtprio=99 --cap-add=sys_nice --name "nos3_debug" $DBOX bash

0 comments on commit ab4b58d

Please sign in to comment.