From 00d4064e5414fc0845e354b50c7f1a8323449268 Mon Sep 17 00:00:00 2001 From: dan sinclair Date: Mon, 30 Jan 2017 19:48:54 -0800 Subject: Fixup test harness When the results of the test runner were converted to return a tuple the following code which checked the results for true/false were not updated to extract the success value from the tuple. This caused the code to think that the results always passed even when they failed. This CL fixes the two tests which were broken (both just minor image result differences) which slipped in during this breakage. Change-Id: I01b56dd7b05013c2c12c83543746cf59b145e561 Reviewed-on: https://pdfium-review.googlesource.com/2456 Reviewed-by: Tom Sepez Commit-Queue: dsinclair --- samples/BUILD.gn | 3 +++ 1 file changed, 3 insertions(+) (limited to 'samples/BUILD.gn') diff --git a/samples/BUILD.gn b/samples/BUILD.gn index 11bc9bab38..23f4d0ca56 100644 --- a/samples/BUILD.gn +++ b/samples/BUILD.gn @@ -30,6 +30,9 @@ config("pdfium_samples_config") { if (pdf_use_skia) { defines += [ "PDF_ENABLE_SKIA" ] } + if (is_asan) { + defines += [ "PDF_ENABLE_ASAN" ] + } if (use_coverage && is_clang) { cflags += [ "--coverage", -- cgit v1.2.3