SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause copyrights: - Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de) enabled-by: RTEMS_SMP links: - role: requirement-refinement uid: /req/test-suites test-brief: | This SMP-only test suite validates the clustered scheduler configuration through an application configuration with a processor maximum of two. The second processor has a optional scheduler assigned and fails to start. test-code: | const char rtems_test_name[] = "${.:/test-suite-name}"; bool __wrap__CPU_SMP_Start_processor( uint32_t cpu_index ); bool __wrap__CPU_SMP_Start_processor( uint32_t cpu_index ) { (void) cpu_index; return false; } #define CONFIGURE_MAXIMUM_PROCESSORS 2 #include #define CONFIGURE_SCHEDULER_EDF_SMP #include RTEMS_SCHEDULER_EDF_SMP( a ); #define CONFIGURE_SCHEDULER_TABLE_ENTRIES \ RTEMS_SCHEDULER_TABLE_EDF_SMP( a, TEST_SCHEDULER_A_NAME ) #define CONFIGURE_SCHEDULER_ASSIGNMENTS \ RTEMS_SCHEDULER_ASSIGN( 0, RTEMS_SCHEDULER_ASSIGN_PROCESSOR_MANDATORY ), \ RTEMS_SCHEDULER_ASSIGN( 0, RTEMS_SCHEDULER_ASSIGN_PROCESSOR_OPTIONAL ) #include "ts-default.h" test-description: null test-includes: [] test-local-includes: - ts-config.h test-target: testsuites/validation/ts-validation-smp-only-2.c type: test-suite