File: add-testing.patch

package info (click to toggle)
acpica-unix 20250404-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 39,648 kB
  • sloc: ansic: 139,761; sh: 4,385; yacc: 4,377; lex: 1,345; makefile: 1,337
file content (18 lines) | stat: -rw-r--r-- 517 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Add `make check` target for running ASL and misc tests

Index: acpica-unix-20250404/Makefile
===================================================================
--- acpica-unix-20250404.orig/Makefile
+++ acpica-unix-20250404/Makefile
@@ -20,3 +20,11 @@ else
 	include generate/unix/Makefile.config
 	include generate/unix/Makefile.common
 endif
+
+check:
+	# ASL tests
+	$(CURDIR)/tests/aslts.sh $(CURDIR)/tests/aslts $(CURDIR)/generate/unix
+
+	# misc tests
+	$(CURDIR)/debian/run-misc-tests.sh $(CURDIR) 20250404
+