mirror of
https://github.com/nasa/fprime.git
synced 2026-04-12 15:17:05 -05:00
* Create tutorial-support.yml * Update tutorial-support.yml GpsApp tutorial to be pulled for build test and submodules to be pulled recursively * Implementation of tutorial workflow * typo in repo address * Added missing github action file * Changed workflow path * Changed dir paths * Work around for workflow * work around * troubleshooting * troubleshoot * troubleshoot * Performance update * Path correction * troubleshoot * Dockerfile correction * path change * path change * path fix * path fix * path fix * path fix * paht fix * Revert to changes * Completed workflow for tutorial support * troubleshoot * Build path error * Optimization of workflow * Path fix * Path fix * Path fix #1 * path fix #2 * path check * Workflow test * Workflow test #2 * Added logging feature * Logs Troubleshoot * Typo fix * Troubleshoot #1 * Troubleshoot #2 * Corrected typo on path * Troubleshoot #3 * Troubleshoot #4 * Troubleshoot #5 * Removed log archive feature * Changed repo path to conform pull request merge * Test run #1 * test #2 * test #3 * added branch for workflow test * test #4 * test #4 * test #5 * test #6 * Test #7 * test #8 * test #8 * Test #9 * Test #9 * Test #10 * Test #11 * Test #12 * Test #13 * Test #14 * Test #15 * Test #16 * Test #17 * Test #18 * Test #20 * Test #21 * Test #22 * Test #23 * Test #24 * Test #25 * Split test files * Split tests #2 * Added executable permissions * Delete RPI.bash * Delete Ref.bash * Delete Framework.bash * exe files * Make Framework.bash executable * Make RPI.bash and Ref.bash executable * Test #26 * Test #27 * Test #28 * Attached Integration test to Ref test * Test #29 * Test #30 * Test #31 * Test #32 * Test #33 * Test #34 * Test #35 * Test #35 * Test #37 * Test #38 * Test #39 * Test #40 * Test #41 * Test #42 * Test #43 * Test #43 * Test #44 * Test #45 * Cleaned up files to remove commented code * Remove CI test branch from workflow * Incorporated comments for PR * Modified path for framework job test * Incoporate reviewer comment for PR * Incoporated reviewer comment for PR * Was using incorrect directory for the test * Revised args call for jobs * Passing args #1 * Define entrypoint directly from workflow * Changed entrypoint method * Changed entrypoint method #2 * Corrected test path * Syntax correction * Path Test #1 * Path test #2 * Path Test #4 * Path Test $5 * Test Path #6 * Path Test #6 * Path Test #7 * Path Test #8 * Refactored scripts to remove master.bash * Corrected test path * Fixed log problems * Entrypoint alternative * Bypassed master.bash file * Added line for better CI error messages
30 lines
789 B
Bash
Executable File
30 lines
789 B
Bash
Executable File
#!/bin/bash
|
|
####
|
|
# 30-ints.bash:
|
|
#
|
|
# Integration tests for CI
|
|
####
|
|
export CTEST_OUTPUT_ON_FAILURE=1
|
|
|
|
export SCRIPT_DIR="$(dirname ${BASH_SOURCE})"
|
|
. "${SCRIPT_DIR}/../helpers.bash"
|
|
. ${SCRIPT_DIR}/fputil.bash
|
|
|
|
#### NEEDED ENVIRONMENT ####
|
|
export FPRIME_DIR="$(cd ${SCRIPT_DIR}/../..; pwd)"
|
|
export LOG_DIR="${FPRIME_DIR}/ci-30-ints-logs-$(date +"%Y-%m-%dT%H%M%S")"
|
|
mkdir -p "${LOG_DIR}"
|
|
|
|
# Directory to be used for Integration CI test
|
|
export FPUTIL_DEPLOYS="${FPRIME_DIR}/Ref"
|
|
|
|
echo -e "${BLUE}Starting CI test ${FPUTIL_DEPLOYS} Ref${NOCOLOR}"
|
|
|
|
# Run integration tests
|
|
echo -e "${BLUE}Testing ${INT_DEPLOYS} against integration tests${NOCOLOR}"
|
|
integration_test "${FPUTIL_DEPLOYS}"
|
|
|
|
# Test Completed
|
|
echo -e "${GREEN}CI test ${FPUTIL_DEPLOYS} Integration SUCCESSFUL${NOCOLOR}"
|
|
|
|
archive_logs |