mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-10 04:43:33 +00:00
Merge branch 'bugfix/unit_test_run' into 'master'
This commit is contained in:
@@ -92,7 +92,7 @@ build_esp_idf_tests:
|
|||||||
- cd tools/unit-test-app
|
- cd tools/unit-test-app
|
||||||
- git checkout ${CI_BUILD_REF_NAME} || echo "Using default branch..."
|
- git checkout ${CI_BUILD_REF_NAME} || echo "Using default branch..."
|
||||||
- make defconfig
|
- make defconfig
|
||||||
- make
|
- make TESTS_ALL=1
|
||||||
|
|
||||||
build_examples:
|
build_examples:
|
||||||
<<: *build_template
|
<<: *build_template
|
||||||
@@ -292,7 +292,7 @@ deploy_docs:
|
|||||||
variables:
|
variables:
|
||||||
# jobs MUST set CONFIG_FILE in before_script, and overwrite the variables above if necessary
|
# jobs MUST set CONFIG_FILE in before_script, and overwrite the variables above if necessary
|
||||||
LOCAL_ENV_CONFIG_PATH: /home/gitlab-runner/LocalConfig/ESP32_IDF
|
LOCAL_ENV_CONFIG_PATH: /home/gitlab-runner/LocalConfig/ESP32_IDF
|
||||||
BIN_PATH: "$CI_PROJECT_DIR/esp-idf-tests/build/"
|
BIN_PATH: "$CI_PROJECT_DIR/tools/unit-test-app/build/"
|
||||||
LOG_PATH: "$CI_PROJECT_DIR/$CI_BUILD_REF"
|
LOG_PATH: "$CI_PROJECT_DIR/$CI_BUILD_REF"
|
||||||
APP_NAME: "ut"
|
APP_NAME: "ut"
|
||||||
TEST_CASE_FILE_PATH: "$CI_PROJECT_DIR/components/idf_test/unit_test"
|
TEST_CASE_FILE_PATH: "$CI_PROJECT_DIR/components/idf_test/unit_test"
|
||||||
|
@@ -1,9 +0,0 @@
|
|||||||
menu "TESTS"
|
|
||||||
|
|
||||||
config FP_TEST_ENABLE
|
|
||||||
bool "Enable test fp"
|
|
||||||
default "y"
|
|
||||||
help
|
|
||||||
For FPGA single core CPU which has no floating point support, floating point test should be disabled.
|
|
||||||
|
|
||||||
endmenu
|
|
@@ -4,7 +4,6 @@
|
|||||||
#include "freertos/task.h"
|
#include "freertos/task.h"
|
||||||
#include "unity.h"
|
#include "unity.h"
|
||||||
|
|
||||||
#if CONFIG_FP_TEST_ENABLE
|
|
||||||
static float addsf(float a, float b)
|
static float addsf(float a, float b)
|
||||||
{
|
{
|
||||||
float result;
|
float result;
|
||||||
@@ -192,4 +191,3 @@ TEST_CASE("context switch saves FP registers", "[fp]")
|
|||||||
}
|
}
|
||||||
TEST_ASSERT(state.fail == 0);
|
TEST_ASSERT(state.fail == 0);
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
@@ -2,7 +2,6 @@ Config: {execute count: 1, execute order: in order}
|
|||||||
DUT: [UT1]
|
DUT: [UT1]
|
||||||
Filter:
|
Filter:
|
||||||
- Add:
|
- Add:
|
||||||
ID: [SYS_OS_0102, SYS_MISC_0103, SYS_MISC_0102, SYS_MISC_0105, SYS_MISC_0104,
|
ID: [SYS_OS_0102, SYS_MISC_0102, SYS_MISC_0107, SYS_MISC_0106, SYS_MISC_0109,
|
||||||
SYS_MISC_0107, SYS_MISC_0106, SYS_MISC_0109, SYS_MISC_0108, SYS_MISC_0112, SYS_MISC_0113,
|
SYS_MISC_0108, SYS_MISC_0112, SYS_MISC_0113, SYS_MISC_0110, SYS_MISC_0111, SYS_LIB_0103,
|
||||||
SYS_MISC_0110, SYS_MISC_0111, SYS_MISC_0115, SYS_LIB_0103, SYS_LIB_0102, SYS_LIB_0101,
|
SYS_LIB_0102, SYS_LIB_0101, SYS_LIB_0106, SYS_LIB_0105, SYS_LIB_0104]
|
||||||
SYS_LIB_0106, SYS_LIB_0105, SYS_LIB_0104]
|
|
||||||
|
Reference in New Issue
Block a user