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

Damien Lespiau damien.lespiau at intel.com
Mon Oct 6 18:00:25 CEST 2014


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 at 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 --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
-- 
1.8.3.1




More information about the Intel-gfx mailing list