Commit 1b70a6f8 authored by Zygmunt Krynicki's avatar Zygmunt Krynicki Committed by Robert Drab
Browse files

Build and run ActsSchedApiTest test

This test deals with process scheduling and priority functions.

Related-To: #5

Signed-off-by: Zygmunt Krynicki's avatarZygmunt Krynicki <zygmunt.krynicki@huawei.com>
Signed-off-by: Robert Drab's avatarRobert Drab <robert.drab@huawei.com>
parent 8def3218
Pipeline #1335 passed with stages
in 7 minutes and 25 seconds
......@@ -96,3 +96,10 @@ ActsProcessApiTest.bin.Sources = $(addprefix kernel_lite/process_posix/src/, \
ActsProcessApiTest.cpp \
PidTest.cpp)
$(eval $(call ZMK.Expand,Program.Test,ActsProcessApiTest.bin))
ActsSchedApiTest.bin: CPPFLAGS += -iquote $(ZMK.OutOfTreeSourcePath)kernel_lite/util_datastruct_posix/src
ActsSchedApiTest.bin: CPPFLAGS += -iquote $(ZMK.OutOfTreeSourcePath)kernel_lite/utils
ActsSchedApiTest.bin.Sources = $(addprefix kernel_lite/sched_posix/src/, \
ActsSchedApiTest.cpp \
FuncSchedTest.cpp)
$(eval $(call ZMK.Expand,Program.Test,ActsSchedApiTest.bin))
# SPDX-License-Identifier: Apache-2.0
#
# Copyright 2021 Huawei Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
summary: tests process scheduling and priority functions
execute: ActsSchedApiTest.bin --gtest_output=xml:ActsSchedApiTest.xml
artifacts: [ActsSchedApiTest.xml]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment