diff options
| author | xiangxistu <[email protected]> | 2022-07-04 10:20:04 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-07-04 10:20:04 +0800 |
| commit | b39210dea3e8a2b07135904ee337ec8831b15dae (patch) | |
| tree | 6678274babad57dd36016310afbdf5402880a345 /examples/utest/testcases/posix/SConscript | |
| parent | 74ed15a85096ccaa77627f6fa1e65247c9260128 (diff) | |
[add] posix testcase frame. (#6127)
Diffstat (limited to 'examples/utest/testcases/posix/SConscript')
| -rw-r--r-- | examples/utest/testcases/posix/SConscript | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/examples/utest/testcases/posix/SConscript b/examples/utest/testcases/posix/SConscript new file mode 100644 index 0000000000..e8914910af --- /dev/null +++ b/examples/utest/testcases/posix/SConscript @@ -0,0 +1,14 @@ +import os +Import('RTT_ROOT') +from building import * + +cwd = GetCurrentDir() +objs = [] +list = os.listdir(cwd) + +for d in list: + path = os.path.join(cwd, d) + if os.path.isfile(os.path.join(path, 'SConscript')): + objs = objs + SConscript(os.path.join(d, 'SConscript')) + +Return('objs') |
