Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(923)

Unified Diff: third_party/bigint/run-testsuite

Issue 773923002: Remove unnecessary files in third_party/bigint (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/bigint/ChangeLog ('k') | third_party/bigint/sample.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/bigint/run-testsuite
diff --git a/third_party/bigint/run-testsuite b/third_party/bigint/run-testsuite
deleted file mode 100755
index ff737291641daf7b9f53633be299aef5658b630a..0000000000000000000000000000000000000000
--- a/third_party/bigint/run-testsuite
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/bash
-
-bad=
-
-# If you encounter the following problem with Valgrind like I did:
-# https://bugzilla.redhat.com/show_bug.cgi?id=455644
-# you can pass the environment variable NO_VALGRIND=1 to run the testsuite
-# without it.
-if [ "$NO_VALGRIND" ]; then
- cmd=(./testsuite)
-else
- cmd=(valgrind --error-exitcode=1 --leak-check=full ./testsuite)
-fi
-
-set -o pipefail
-# Stdout goes directly to testsuite.out; stderr goes down the pipe.
-if ! "${cmd[@]}" 2>&1 >testsuite.out | tee testsuite.err; then
- echo >&2 'Memory errors!'
- bad=1
-fi
-
-if grep 'LEAK SUMMARY' testsuite.err >/dev/null; then
- echo >&2 'Memory leaks!'
- bad=1
-fi
-
-if ! diff -u testsuite.expected testsuite.out; then
- echo >&2 'Output is incorrect!'
- bad=1
-fi
-
-if [ $bad ]; then
- echo >&2 'Test suite failed!'
- exit 1
-else
- echo 'Test suite passed.'
-fi
« no previous file with comments | « third_party/bigint/ChangeLog ('k') | third_party/bigint/sample.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698