From 13802f565400a91519df86902ece3bd0a8c5aadb Mon Sep 17 00:00:00 2001 From: Jan Ziak <0xe2.0x9a.0x9b@gmail.com> Date: Sun, 24 Jun 2012 19:23:09 -0400 Subject: [PATCH] test/bench/shootout: remove dependency on C libraries in test mode Fixes #3732. R=golang-dev CC=golang-dev https://golang.org/cl/6335053 --- test/bench/shootout/timing.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/test/bench/shootout/timing.sh b/test/bench/shootout/timing.sh index 8758549bdea..47707e74387 100755 --- a/test/bench/shootout/timing.sh +++ b/test/bench/shootout/timing.sh @@ -126,7 +126,7 @@ regexdna() { runonly gcc -O2 fasta.c runonly a.out 100000 > x runonly echo 'regex-dna 100000' - run 'gcc -O2 regex-dna.c -lpcre' a.out x # should be using 25000000 runonly echo 'k-nucleotide 1000000' - run "gcc -O2 k-nucleotide.c $(pkg-config glib-2.0 --cflags --libs)" a.out