debade9121
... because it is (required). This makes a difference when building with CMake and forgetting ZEPHYR_BASE or not registering Zephyr in the CMake package registry. In this particular case, REQUIRED turns this harmless looking log statement: -- Could NOT find Zephyr (missing: Zephyr_DIR) -- The C compiler identification is GNU 9.3.0 -- The CXX compiler identification is GNU 9.3.0 -- Check for working C compiler: /usr/bin/cc -- ... -- ... -- ... -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Error at CMakeLists.txt:8 (target_sources): Cannot specify sources for target "app" which is not built by this project. ... into this louder, clearer, faster and (last but not least) final error: CMake Error at CMakeLists.txt:5 (find_package): Could not find a package configuration file provided by "Zephyr" with any of the following names: ZephyrConfig.cmake zephyr-config.cmake Add the installation prefix of "Zephyr" to CMAKE_PREFIX_PATH or set "Zephyr_DIR" to a directory containing one of the above files. If "Zephyr" provides a separate development package or SDK, be sure it has been installed. -- Configuring incomplete, errors occurred! Signed-off-by: Marc Herbert <marc.herbert@intel.com> |
||
---|---|---|
.. | ||
src | ||
CMakeLists.txt | ||
README | ||
prj.conf | ||
testcase.yaml |
README
HTTP header fields test ----------------------- Sample output: tc_start() - HTTP header fields test [PASS] test_preserve_data [PASS] test_parse_url [PASS] test_method_str [PASS] test_header_nread_value [PASS] test_double_content_length_error HTTP_REQUEST [PASS] test_chunked_content_length_error HTTP_REQUEST [PASS] test_header_cr_no_lf_error HTTP_REQUEST [PASS] test_invalid_header_field_token_error HTTP_REQUEST [PASS] test_invalid_header_field_content_error HTTP_REQUEST [PASS] test_double_content_length_error HTTP_RESPONSE [PASS] test_chunked_content_length_error HTTP_RESPONSE [PASS] test_header_cr_no_lf_error HTTP_RESPONSE [PASS] test_invalid_header_field_token_error HTTP_RESPONSE [PASS] test_invalid_header_field_content_error HTTP_RESPONSE No errors detected =================================================================== PASS - main. =================================================================== PROJECT EXECUTION SUCCESSFUL