Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
kazoo
Commits
a814a79b
Commit
a814a79b
authored
Sep 03, 2019
by
Maxime Perrotin
Browse files
Merge branch 'master' of
https://gitrepos.estec.esa.int/taste/kazoo
parents
167ee305
10ed0de6
Changes
5
Hide whitespace changes
Inline
Side-by-side
templates-parser
@
0655d367
Compare
844cfcc6
...
0655d367
Subproject commit
844cfcc630139c0c9c3c2c41f549946a26ee06c0
Subproject commit
0655d36712e079dcf975afb4a1075353cbfdad14
templates/skeletons/makefile.tmplt
View file @
a814a79b
...
...
@@ -124,7 +124,7 @@ dataview/C/built: ${DATAVIEW_UNIQ} ${DATAVIEW_ACN}
dataview/Python/built
:
dataview/C/built
mkdir
-p
$(
dir
$@
)
asn2dataModel
-o
$(
dir
$@
)
-toPython
${DATAVIEW_UNIQ}
@@-- Ignore context parameters
for
python interface
$(MAKE)
-j1
-C
dataview/Python
-f
Makefile.python
$(MAKE)
-C
dataview/Python
-f
Makefile.python
@@TABLE@@
@@IF@@
@_Language_@
=
GUI
cp dataview/Python/* @_LOWER
:
Function_Names_@/GUI/wrappers/python
...
...
test/.gitignore
View file @
a814a79b
test
*/output*
*/output*
test/Makefile
View file @
a814a79b
DISABLED_TESTS
=
common/
TEST_CASES
=
$(
filter-out
$(DISABLED_TESTS)
,
$(
sort
$(
dir
$(
wildcard
*
/
))))
export
MAKEFLAGS
=
"-j
$
(grep -c ^processor /proc/cpuinfo)"
all
:
@
python3 test.py all
$(TEST_CASES)
...
...
test/test.py
View file @
a814a79b
...
...
@@ -24,8 +24,9 @@ def main():
with
futures
.
ProcessPoolExecutor
(
max_workers
=
cpu_count
())
as
executor
:
for
result
in
executor
.
map
(
partial
(
make
,
rule
),
paths
):
print
(
"%40s: %s"
%
(
result
[
3
],
colorMe
(
result
[
0
],
print
(
"%40s: %s"
%
(
result
[
3
]
.
replace
(
"/"
,
""
)
,
colorMe
(
result
[
0
],
'[OK]'
if
result
[
0
]
==
0
else
'[FAILED]'
)))
sys
.
stdout
.
flush
()
results
.
append
(
result
)
executor
.
map
(
partial
(
make
,
'clean'
),
paths
)
sys
.
stdout
.
write
(
'
\n
'
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment