File tree Expand file tree Collapse file tree 3 files changed +32
-0
lines changed Expand file tree Collapse file tree 3 files changed +32
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Copyright (c) 2024 Basalte bv
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ cmake_minimum_required (VERSION 3.20.0 )
5
+ find_package (Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE} )
6
+ project (app_example_runner_test )
7
+
8
+ target_sources (app PRIVATE ${ZEPHYR_BASE} /misc/empty_file.c )
9
+
10
+ list (APPEND CMAKE_MODULE_PATH ${ZEPHYR_BASE} /modules )
11
+ include (west )
12
+
13
+ enable_testing ()
14
+ include (CTest )
15
+
16
+ add_test (
17
+ NAME example-runner
18
+ COMMAND ${WEST} simulate --runner example
19
+ )
20
+ set_property (
21
+ TEST example-runner
22
+ PROPERTY PASS_REGULAR_EXPRESSION "Running simulate on ${CONFIG_BOARD} "
23
+ )
Original file line number Diff line number Diff line change
1
+ # Intentionally empty
Original file line number Diff line number Diff line change
1
+ common :
2
+ platform_allow :
3
+ - custom_plank
4
+ integration_platforms :
5
+ - custom_plank
6
+ harness : ctest
7
+ tests :
8
+ runner.example : {}
You can’t perform that action at this time.
0 commit comments