Commit 9abf0c20 authored by Jerome Hugues's avatar Jerome Hugues

* Add helper script to run this test manually

parent e264f9ab
......@@ -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
#!/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()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment