Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
kazoo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
TASTE
kazoo
Commits
e73e99c7
Commit
e73e99c7
authored
Mar 25, 2019
by
Maxime Perrotin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename tool to kazoo
parent
c15d7ab4
Changes
28
Hide whitespace changes
Inline
Side-by-side
Showing
28 changed files
with
59 additions
and
60 deletions
+59
-60
.gitignore
.gitignore
+1
-1
Makefile
Makefile
+3
-4
kazoo.gpr
kazoo.gpr
+3
-3
src/kazoo.adb
src/kazoo.adb
+2
-2
src/taste-parser_utils.adb
src/taste-parser_utils.adb
+2
-2
test/test-cv/Makefile
test/test-cv/Makefile
+3
-3
test/test1/Makefile
test/test1/Makefile
+2
-2
test/test10/Makefile
test/test10/Makefile
+2
-2
test/test11/Makefile
test/test11/Makefile
+2
-2
test/test12/Makefile
test/test12/Makefile
+2
-2
test/test13/Makefile
test/test13/Makefile
+2
-2
test/test14/Makefile
test/test14/Makefile
+2
-2
test/test15/Makefile
test/test15/Makefile
+2
-2
test/test16/Makefile
test/test16/Makefile
+2
-2
test/test17/Makefile
test/test17/Makefile
+2
-2
test/test18/Makefile
test/test18/Makefile
+2
-2
test/test19/Makefile
test/test19/Makefile
+2
-2
test/test2/Makefile
test/test2/Makefile
+2
-2
test/test20/Makefile
test/test20/Makefile
+2
-2
test/test21/Makefile
test/test21/Makefile
+3
-3
test/test22/Makefile
test/test22/Makefile
+2
-2
test/test3/Makefile
test/test3/Makefile
+2
-2
test/test4/Makefile
test/test4/Makefile
+2
-2
test/test5/Makefile
test/test5/Makefile
+2
-2
test/test6/Makefile
test/test6/Makefile
+2
-2
test/test7/Makefile
test/test7/Makefile
+2
-2
test/test8/Makefile
test/test8/Makefile
+2
-2
test/test9/Makefile
test/test9/Makefile
+2
-2
No files found.
.gitignore
View file @
e73e99c7
aadl_parser
kazoo
obj/
templates-parser/
src/*.swp
...
...
Makefile
View file @
e73e99c7
...
...
@@ -2,7 +2,7 @@ UNAME := $(shell uname)
ARCH
:=
$(
shell
getconf LONG_BIT
)
CC
=
gcc
exec
=
aadl_parser
exec
=
kazoo
all
:
build
...
...
@@ -36,12 +36,11 @@ ifeq ($(UNAME), Linux)
endif
@
#[
$(ARCH)
==
64
]
&&
EXTRAFLAG
=
"--target=x86_64-linux"
;
OCARINA_PATH
=
`
ocarina-config
--prefix
`
\
$(gnatpath)
gprbuild
-j0
-x
-g
$(exec)
-p
-P
aadl_parser
.gpr
-XBUILD
=
"debug"
$$
EXTRAFLAG
$(gnatpath)
gprbuild
-j0
-x
-g
$(exec)
-p
-P
kazoo
.gpr
-XBUILD
=
"debug"
$$
EXTRAFLAG
install
:
$(MAKE)
mv
aadl_parser taste-aadl-parser
cp
taste-aadl-parser
`
ocarina-config
--prefix
`
/bin/
cp
kazoo
`
ocarina-config
--prefix
`
/bin/
edit
:
OCARINA_PATH
=
`
ocarina-config
--prefix
`
gps
...
...
aadl_parser
.gpr
→
kazoo
.gpr
View file @
e73e99c7
with
"ocarina/ocarina"
;
with
"templates-parser/templates_parser"
;
project
AADL_Parser
is
project
Kazoo
is
for
Source_Dirs
use
(
"src"
);
for
Object_Dir
use
"obj"
;
for
Exec_Dir
use
"."
;
for
Main
use
(
"
aadl_parser
.adb"
);
for
Main
use
(
"
kazoo
.adb"
);
for
Languages
use
(
"Ada"
);
package
Builder
is
...
...
@@ -30,5 +30,5 @@ project AADL_Parser is
-- "-no-pie");
end
Compiler
;
end
AADL_Parser
;
end
Kazoo
;
src/
aadl_parser
.adb
→
src/
kazoo
.adb
View file @
e73e99c7
...
...
@@ -5,7 +5,7 @@ with GNAT.OS_Lib,
use
TASTE
.
AADL_Parser
,
TASTE
.
Model_Transformations
;
procedure
AADL_Parser
is
procedure
Kazoo
is
begin
declare
Model
:
constant
TASTE_Model
:=
Parse_Project
;
...
...
@@ -22,4 +22,4 @@ begin
exception
when
TASTE
.
Quit_TASTE
=>
GNAT
.
OS_Lib
.
OS_Exit
(
1
);
end
AADL_Parser
;
end
Kazoo
;
src/taste-parser_utils.adb
View file @
e73e99c7
...
...
@@ -35,10 +35,10 @@ package body TASTE.Parser_Utils is
procedure
Banner
is
The_Banner
:
constant
String
:=
Yellow_Bold
&
"TASTE
AADL Parser
"
&
No_Color
&
" (Version "
Yellow_Bold
&
"TASTE
/Kazoo
"
&
No_Color
&
" (Version "
&
TASTE
.
Parser_Version
.
Parser_Release
&
")"
&
ASCII
.
LF
&
ASCII
.
CR
&
White_Bold
&
"Copyright (C) European Space Agency"
&
"Copyright (C)
Maxime Perrotin /
European Space Agency"
&
ASCII
.
LF
&
ASCII
.
CR
&
No_Color
&
"Based on "
&
TASTE
.
Parser_Version
.
Ocarina_Version
;
begin
...
...
test/test-cv/Makefile
View file @
e73e99c7
AADL_PARSER
=
../../aadl_parser
KAZOO
=
../../kazoo
all
:
test-parse
test-parse
:
clean
$(
AADL_PARSER
)
--gw
\
$(
KAZOO
)
--gw
\
-o
output
\
--glue
\
--debug
\
...
...
@@ -13,7 +13,7 @@ test-parse: clean
../common/ocarina_components.aadl
gdb
:
clean
gdb
--args
$(
AADL_PARSER
)
--gw
\
gdb
--args
$(
KAZOO
)
--gw
\
-o
output
\
--glue
\
--debug
\
...
...
test/test1/Makefile
View file @
e73e99c7
AADL_PARSER
=
../../aadl_parser
KAZOO
=
../../kazoo
all
:
test-parse
test-parse
:
$(
AADL_PARSER
)
--glue
-i
interfaceview.aadl
\
$(
KAZOO
)
--glue
-i
interfaceview.aadl
\
-c
deploymentview.aadl
\
-d
dataview.aadl
\
../common/ocarina_components.aadl
\
...
...
test/test10/Makefile
View file @
e73e99c7
AADL_PARSER
=
../../aadl_parser
KAZOO
=
../../kazoo
all
:
test-parse
test-parse
:
clean
$(
AADL_PARSER
)
--gw
\
$(
KAZOO
)
--gw
\
-o
output
\
--glue
\
--debug
\
...
...
test/test11/Makefile
View file @
e73e99c7
AADL_PARSER
=
../../aadl_parser
KAZOO
=
../../kazoo
all
:
test-parse
test-parse
:
clean
$(
AADL_PARSER
)
--gw
\
$(
KAZOO
)
--gw
\
-o
output
\
--glue
\
--debug
\
...
...
test/test12/Makefile
View file @
e73e99c7
AADL_PARSER
=
../../aadl_parser
KAZOO
=
../../kazoo
all
:
test-parse
test-parse
:
clean
$(
AADL_PARSER
)
--gw
\
$(
KAZOO
)
--gw
\
-o
output
\
--glue
\
--debug
\
...
...
test/test13/Makefile
View file @
e73e99c7
AADL_PARSER
=
../../aadl_parser
KAZOO
=
../../kazoo
all
:
test-parse
test-parse
:
clean
$(
AADL_PARSER
)
--gw
\
$(
KAZOO
)
--gw
\
-o
output
\
--glue
\
--debug
\
...
...
test/test14/Makefile
View file @
e73e99c7
AADL_PARSER
=
../../aadl_parser
KAZOO
=
../../kazoo
all
:
test-parse
test-parse
:
clean
$(
AADL_PARSER
)
--gw
\
$(
KAZOO
)
--gw
\
-o
output
\
--glue
\
--debug
\
...
...
test/test15/Makefile
View file @
e73e99c7
AADL_PARSER
=
../../aadl_parser
KAZOO
=
../../kazoo
all
:
test-parse
test-parse
:
clean
$(
AADL_PARSER
)
--gw
\
$(
KAZOO
)
--gw
\
-o
output
\
--glue
\
--debug
\
...
...
test/test16/Makefile
View file @
e73e99c7
AADL_PARSER
=
../../aadl_parser
KAZOO
=
../../kazoo
all
:
test-parse
test-parse
:
clean
$(
AADL_PARSER
)
--gw
\
$(
KAZOO
)
--gw
\
-o
output
\
--glue
\
--debug
\
...
...
test/test17/Makefile
View file @
e73e99c7
AADL_PARSER
=
../../aadl_parser
KAZOO
=
../../kazoo
all
:
test-parse
test-parse
:
clean
$(
AADL_PARSER
)
--gw
\
$(
KAZOO
)
--gw
\
-o
output
\
--glue
\
--debug
\
...
...
test/test18/Makefile
View file @
e73e99c7
AADL_PARSER
=
../../aadl_parser
KAZOO
=
../../kazoo
all
:
test-parse
test-parse
:
clean
$(
AADL_PARSER
)
--gw
\
$(
KAZOO
)
--gw
\
-o
output
\
--glue
\
--debug
\
...
...
test/test19/Makefile
View file @
e73e99c7
AADL_PARSER
=
../../aadl_parser
KAZOO
=
../../kazoo
all
:
test-parse
test-parse
:
clean
$(
AADL_PARSER
)
--gw
\
$(
KAZOO
)
--gw
\
-o
output
\
--glue
\
--debug
\
...
...
test/test2/Makefile
View file @
e73e99c7
AADL_PARSER
=
../../aadl_parser
KAZOO
=
../../kazoo
all
:
test-parse
cd
output
&&
make
generate
:
$(
AADL_PARSER
)
--gw
\
$(
KAZOO
)
--gw
\
-o
output
\
--glue
\
--debug
\
...
...
test/test20/Makefile
View file @
e73e99c7
AADL_PARSER
=
../../aadl_parser
KAZOO
=
../../kazoo
all
:
test-parse
test-parse
:
clean
$(
AADL_PARSER
)
--gw
\
$(
KAZOO
)
--gw
\
-o
output
\
--glue
\
--debug
\
...
...
test/test21/Makefile
View file @
e73e99c7
AADL_PARSER
=
../../aadl_parser
KAZOO
=
../../kazoo
all
:
test-parse
test-parse
:
clean
$(
AADL_PARSER
)
--gw
\
$(
KAZOO
)
--gw
\
-o
output
\
--glue
\
--debug
\
...
...
@@ -13,7 +13,7 @@ test-parse: clean
../common/ocarina_components.aadl
&&
cd
output
&&
time
make dataviews
gdb
:
clean
gdb
--args
$(
AADL_PARSER
)
--gw
\
gdb
--args
$(
KAZOO
)
--gw
\
-o
output
\
--glue
\
--debug
\
...
...
test/test22/Makefile
View file @
e73e99c7
AADL_PARSER
=
../../aadl_parser
KAZOO
=
../../kazoo
all
:
test-parse
cd
output
&&
make
test-parse
:
clean
$(
AADL_PARSER
)
--gw
\
$(
KAZOO
)
--gw
\
-o
output
\
--glue
\
--debug
\
...
...
test/test3/Makefile
View file @
e73e99c7
AADL_PARSER
=
../../aadl_parser
KAZOO
=
../../kazoo
all
:
test-parse
test-parse
:
clean
$(
AADL_PARSER
)
-o
output
-i
InterfaceView.aadl
-d
DataView.aadl
$(
KAZOO
)
-o
output
-i
InterfaceView.aadl
-d
DataView.aadl
clean
:
...
...
test/test4/Makefile
View file @
e73e99c7
AADL_PARSER
=
../../aadl_parser
KAZOO
=
../../kazoo
all
:
test-parse
test-parse
:
$(
AADL_PARSER
)
--gw
\
$(
KAZOO
)
--gw
\
--glue
\
-i
InterfaceView.aadl
\
-c
DeploymentView.aadl
\
...
...
test/test5/Makefile
View file @
e73e99c7
AADL_PARSER
=
../../aadl_parser
KAZOO
=
../../kazoo
all
:
test-parse
test-parse
:
$(
AADL_PARSER
)
--gw
\
$(
KAZOO
)
--gw
\
--glue
\
-i
InterfaceView.aadl
\
-c
DeploymentView.aadl
\
...
...
test/test6/Makefile
View file @
e73e99c7
AADL_PARSER
=
../../aadl_parser
KAZOO
=
../../kazoo
all
:
test-parse
cd
output
&&
make
test-parse
:
clean
$(
AADL_PARSER
)
--gw
\
$(
KAZOO
)
--gw
\
--debug
\
-o
output
...
...
test/test7/Makefile
View file @
e73e99c7
AADL_PARSER
=
../../aadl_parser
KAZOO
=
../../kazoo
all
:
test-parse
test-parse
:
clean
$(
AADL_PARSER
)
--check-dataview
\
$(
KAZOO
)
--check-dataview
\
2>&1 |
tail
-2
| diff expected -
clean
:
...
...
test/test8/Makefile
View file @
e73e99c7
AADL_PARSER
=
../../aadl_parser
KAZOO
=
../../kazoo
all
:
test-parse
cd
output
&&
make
test-parse
:
clean
$(
AADL_PARSER
)
--gw
\
$(
KAZOO
)
--gw
\
-o
output
\
--glue
\
--debug
\
...
...
test/test9/Makefile
View file @
e73e99c7
AADL_PARSER
=
../../aadl_parser
KAZOO
=
../../kazoo
all
:
test-parse
test-parse
:
clean
$(
AADL_PARSER
)
--gw
\
$(
KAZOO
)
--gw
\
-o
output
\
--glue
\
--debug
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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