diff mbox

[i-g-t,2/2] quick_dump: Add a test to verify we can load the dynamic library

Message ID 1412611225-1224-2-git-send-email-damien.lespiau@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Lespiau, Damien Oct. 6, 2014, 4 p.m. UTC
quick_dump was failing to load because of a non resolved symbol in the
python binding library. Let's add a small test that makes sure we can
run ./quick_dump.py --help, ie load the python package and the shim
library.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
---
 tools/quick_dump/Makefile.am   | 2 ++
 tools/quick_dump/test-start.sh | 2 ++
 2 files changed, 4 insertions(+)
 create mode 100755 tools/quick_dump/test-start.sh
diff mbox

Patch

diff --git a/tools/quick_dump/Makefile.am b/tools/quick_dump/Makefile.am
index 4bc5eca..34d6d6a 100644
--- a/tools/quick_dump/Makefile.am
+++ b/tools/quick_dump/Makefile.am
@@ -27,3 +27,5 @@  EXTRA_DIST = $(QUICK_DUMP_EXTRA_DIST) \
 	      quick_dump.py \
 	      reg_access.py \
 	      chipset.i chipset.py
+
+TESTS = test-start.sh
diff --git a/tools/quick_dump/test-start.sh b/tools/quick_dump/test-start.sh
new file mode 100755
index 0000000..904503c
--- /dev/null
+++ b/tools/quick_dump/test-start.sh
@@ -0,0 +1,2 @@ 
+#!/bin/sh
+./quick_dump.py --help