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
R
regression-suites
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
regression-suites
Commits
60ffad9b
Commit
60ffad9b
authored
Sep 12, 2018
by
Thanassis Tsiodras
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://gitrepos.estec.esa.int/taste/regression-suites
parents
6af46dde
9abf0c20
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
1 deletion
+22
-1
Demo_DLL/README.md
Demo_DLL/README.md
+12
-1
Demo_DLL/run.py
Demo_DLL/run.py
+10
-0
No files found.
Demo_DLL/README.md
View file @
60ffad9b
...
...
@@ -4,4 +4,15 @@ Demo C
This is the simplest possible system you can do in TASTE:
a single periodic C function.
This build generates a dynamic library, its main entrypoint is aadl_start
This build generates a dynamic library, its main entrypoint is aadl_start.
The script run.py is a simple test script used to exercise this feature.
Here is the expected ouput
[Startup] Expected output: "Hello, world..." every 2 seconds
Hello, world...
Hello, world...
Hello, world...
You may then exit the test hitting Ctrl-C
Demo_DLL/run.py
0 → 100755
View file @
60ffad9b
#!/usr/bin/python
from
ctypes
import
CDLL
import
time
def
RunTest
():
taste_DLL
=
CDLL
(
"./binary.linux.pohic/binaries/demo_c.so"
)
taste_DLL
.
aadl_start
()
RunTest
()
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