aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/internal/unvendor/golang.org/x/arch/x86/x86asm/testdata/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/internal/unvendor/golang.org/x/arch/x86/x86asm/testdata/Makefile')
-rw-r--r--src/cmd/internal/unvendor/golang.org/x/arch/x86/x86asm/testdata/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/cmd/internal/unvendor/golang.org/x/arch/x86/x86asm/testdata/Makefile b/src/cmd/internal/unvendor/golang.org/x/arch/x86/x86asm/testdata/Makefile
new file mode 100644
index 0000000000..9cb44127a4
--- /dev/null
+++ b/src/cmd/internal/unvendor/golang.org/x/arch/x86/x86asm/testdata/Makefile
@@ -0,0 +1,12 @@
+libmach8db: libmach8db.c
+ 9c libmach8db.c && 9l -o libmach8db libmach8db.o; rm libmach8db.o
+
+newdecode.txt:
+ cd ..; go test -cover -run 'Objdump.*32' -v -timeout 10h -printtests 2>&1 | tee log
+ cd ..; go test -cover -run 'Objdump.*64' -v -timeout 10h -printtests 2>&1 | tee -a log
+ cd ..; go test -cover -run 'Xed.*32' -v -timeout 10h -printtests 2>&1 | tee -a log
+ cd ..; go test -cover -run 'Xed.*64' -v -timeout 10h -printtests 2>&1 | tee -a log
+ cd ..; go test -cover -run 'Plan9.*32' -v -timeout 10h -printtests 2>&1 | tee -a log
+ cd ..; go test -cover -run 'Plan9.*64' -v -timeout 10h -printtests 2>&1 | tee -a log
+ egrep ' (gnu|intel|plan9) ' ../log |sort >newdecode.txt
+