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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
---
 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

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux