summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorburet2009-09-16 08:42:58 +0000
committerburet2009-09-16 08:42:58 +0000
commit854746fbc67c92f26ee4d868a5005a6c0d37c731 (patch)
tree948f2a73bb6067586422fa955c4df7234ad52e14
parent55e628394b5dc0286b4815eb66024014c98f9144 (diff)
[maximus] minor fix in test lib proto
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@5569 017c9cb6-072f-447c-8318-d5b54f68fe89
-rw-r--r--cesar/maximus/prototest/fcall/src/test_fcall.c1
-rw-r--r--cesar/maximus/python/test/test_lib_proto.py2
2 files changed, 3 insertions, 0 deletions
diff --git a/cesar/maximus/prototest/fcall/src/test_fcall.c b/cesar/maximus/prototest/fcall/src/test_fcall.c
index 36f9dba2e4..b8e48d10d1 100644
--- a/cesar/maximus/prototest/fcall/src/test_fcall.c
+++ b/cesar/maximus/prototest/fcall/src/test_fcall.c
@@ -20,6 +20,7 @@
#include "interface/fcall/interface_fcall.h"
#include "interface/fcall/inc/interface_fcall.h"
#include "lib/swap.h" // for 'swap16()' and 'swap32()'
+#include "lib/read_word.h" // for 'read_u16_from_word()'
#include "maximus/prototest/fcall/inc/syscall.h"
#define MY_THREAD_STACK_SIZE (8192 / sizeof(int))
diff --git a/cesar/maximus/python/test/test_lib_proto.py b/cesar/maximus/python/test/test_lib_proto.py
index 88ed94f6f5..13d113f89d 100644
--- a/cesar/maximus/python/test/test_lib_proto.py
+++ b/cesar/maximus/python/test/test_lib_proto.py
@@ -439,6 +439,8 @@ except ValueError:
if __name__ == '__main__':
testResult = unittest.TextTestRunner(verbosity=2).run(suite)
+ # To stop proto executable in case of unitary tests
+ maximus.uninit()
# For nightly build errors
sys.exit ((1, 0)[testResult.wasSuccessful ()])