File tree Expand file tree Collapse file tree
boards/sim/sim/sim/configs/citest Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ config :
2+ cwd : ' /github/workspace/sources/'
3+ timeout_session : 6000
4+
5+ product :
6+ name : " ntfc-sim"
7+ cores :
8+ core0 :
9+ name : ' main'
10+ device : ' sim'
11+ conf_path : ' /github/workspace/sources/nuttx/.config'
12+ elf_path : ' /github/workspace/sources/nuttx/nuttx'
Original file line number Diff line number Diff line change @@ -131,6 +131,7 @@ CONFIG_START_YEAR=2008
131131CONFIG_SYSTEM_DUMPSTACK=y
132132CONFIG_SYSTEM_NSH=y
133133CONFIG_SYSTEM_POPEN=y
134+ CONFIG_SYSTEM_SETLOGMASK=y
134135CONFIG_TESTING_CMOCKA=y
135136CONFIG_TESTING_CXXTEST=y
136137CONFIG_TESTING_DRIVER_TEST=y
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+ # ###########################################################################
3+ # boards/sim/sim/sim/configs/citest/run
4+ #
5+ # SPDX-License-Identifier: Apache-2.0
6+ #
7+ # Licensed to the Apache Software Foundation (ASF) under one or more
8+ # contributor license agreements. See the NOTICE file distributed with
9+ # this work for additional information regarding copyright ownership. The
10+ # ASF licenses this file to you under the Apache License, Version 2.0 (the
11+ # "License"); you may not use this file except in compliance with the
12+ # License. You may obtain a copy of the License at
13+ #
14+ # http://www.apache.org/licenses/LICENSE-2.0
15+ #
16+ # Unless required by applicable law or agreed to in writing, software
17+ # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
18+ # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
19+ # License for the specific language governing permissions and limitations
20+ # under the License.
21+ #
22+ # ###########################################################################
23+
24+ set -o xtrace
25+
26+ # start from NTFC dir
27+ olddir=$( pwd)
28+ cd ${NTFCDIR}
29+
30+ # enable venv
31+ source ./venv/bin/activate
32+
33+ # run NTFC
34+ confpath=${CURRENTCONFDIR} /config.yaml
35+ jsonconf=${CURRENTCONFDIR} /session.json
36+ python3 -m ntfc test --confpath=${confpath} --jsonconf=${jsonconf}
37+
38+ ret=" $? "
39+ echo $ret
40+
41+ # disable venv
42+ deactivate
43+
44+ # export test results
45+ artifacts=${ARTIFACTCONFDIR} /ntfc
46+ mkdir -p ${artifacts}
47+ mv pytest.debug.log ${artifacts}
48+ mv result ${artifacts}
49+
50+ # restore old dir
51+ cd ${olddir}
52+
53+ exit $ret
Original file line number Diff line number Diff line change 1+ {
2+ "module" : {
3+ "include_module" : [],
4+ "exclude_module" :
5+ [
6+ " Nuttx_System_Driver_Pm" ,
7+ " Nuttx_System_Fs_Fs"
8+ ],
9+ "order" : []
10+ },
11+ "args" : {
12+ "kv" : []
13+ }
14+ }
You can’t perform that action at this time.
0 commit comments