[runtime] Add a test to verify that pedump works. (#4486)
authorZoltan Varga <vargaz@gmail.com>
Fri, 10 Mar 2017 04:03:29 +0000 (23:03 -0500)
committerGitHub <noreply@github.com>
Fri, 10 Mar 2017 04:03:29 +0000 (23:03 -0500)
mono/tests/Makefile.am

index 4263dfb82828b8db6b0f054d2203189a609ff9b0..aef891ca9533761070e528971ea22de4574a4caf 100644 (file)
@@ -7,7 +7,7 @@ FEATUREFUL_RUNTIME_TEST = test-appdomain-unload
 endif
 
 check-local: assemblyresolve/test/asm.dll testjit test-generic-sharing test-type-load test-multi-netmodule test-cattr-type-load test-reflection-load-with-context test_platform        \
-                test-console-output test-messages test-env-options test-unhandled-exception-2 $(FEATUREFUL_RUNTIME_TEST) test-process-stress rm-empty-logs
+                test-console-output test-messages test-env-options test-unhandled-exception-2 $(FEATUREFUL_RUNTIME_TEST) test-process-stress test-pedump rm-empty-logs
 check-full: test-sgen check-local
 check-parallel: compile-tests check-full
 
@@ -1844,6 +1844,9 @@ test-console-output: console-output.exe
        @diff -w console-output.exe.stdout $(srcdir)/console-output.exe.stdout.expected \
                && diff -w console-output.exe.stderr $(srcdir)/console-output.exe.stderr.expected
 
+test-pedump: test-runner.exe
+       $(with_mono_path) $(mono_build_root)/tools/pedump/pedump --verify error test-runner.exe
+
 PROCESS_STRESS_TESTS=  \
                process-stress-1.exe    \
                process-stress-2.exe    \