diff mbox

[2/3] Rename setup-vrange-anon.sh to fetch-external-tests.sh

Message ID 1386807988-20278-2-git-send-email-john.stultz@linaro.org
State Accepted
Headers show

Commit Message

John Stultz Dec. 12, 2013, 12:26 a.m. UTC
Since the script fetches and builds external tests
like ebizzy and jemalloc, reanme it appropriately

Signed-off-by: John Stultz <john.stultz@linaro.org>
---
 fetch-external-tests.sh | 32 ++++++++++++++++++++++++++++++++
 setup-vrange-anon.sh    | 32 --------------------------------
 2 files changed, 32 insertions(+), 32 deletions(-)
 create mode 100755 fetch-external-tests.sh
 delete mode 100755 setup-vrange-anon.sh
diff mbox

Patch

diff --git a/fetch-external-tests.sh b/fetch-external-tests.sh
new file mode 100755
index 0000000..30926e7
--- /dev/null
+++ b/fetch-external-tests.sh
@@ -0,0 +1,32 @@ 
+#!/bin/bash
+
+if [ ! -d ebizzy ]
+then
+	mkdir ebizzy;
+	pushd ebizzy;
+	wget http://heanet.dl.sourceforge.net/sourceforge/ebizzy/ebizzy-0.3.tar.gz
+	tar -xzf ebizzy-0.3.tar.gz
+	pushd ebizzy-0.3
+	gcc -o ebizzy ebizzy.c -lpthread
+	popd
+	popd
+fi
+
+if [ ! -d jemalloc ]
+then
+	mkdir jemalloc
+	pushd jemalloc
+	wget http://www.canonware.com/download/jemalloc/jemalloc-3.3.1.tar.bz2
+	tar -xjf jemalloc-3.3.1.tar.bz2
+	pushd jemalloc-3.3.1
+	./configure
+	make all -j 4
+	mv lib/libjemalloc.so.1 lib/libjemalloc.so.vanilla
+	patch -p1 < ../../0001-*.patch
+	patch -p1 < ../../0002-*.patch
+	./configure
+	make all -j 4
+	mv lib/libjemalloc.so.1 lib/libjemalloc.so.vrange
+	popd
+	popd
+fi
diff --git a/setup-vrange-anon.sh b/setup-vrange-anon.sh
deleted file mode 100755
index 30926e7..0000000
--- a/setup-vrange-anon.sh
+++ /dev/null
@@ -1,32 +0,0 @@ 
-#!/bin/bash
-
-if [ ! -d ebizzy ]
-then
-	mkdir ebizzy;
-	pushd ebizzy;
-	wget http://heanet.dl.sourceforge.net/sourceforge/ebizzy/ebizzy-0.3.tar.gz
-	tar -xzf ebizzy-0.3.tar.gz
-	pushd ebizzy-0.3
-	gcc -o ebizzy ebizzy.c -lpthread
-	popd
-	popd
-fi
-
-if [ ! -d jemalloc ]
-then
-	mkdir jemalloc
-	pushd jemalloc
-	wget http://www.canonware.com/download/jemalloc/jemalloc-3.3.1.tar.bz2
-	tar -xjf jemalloc-3.3.1.tar.bz2
-	pushd jemalloc-3.3.1
-	./configure
-	make all -j 4
-	mv lib/libjemalloc.so.1 lib/libjemalloc.so.vanilla
-	patch -p1 < ../../0001-*.patch
-	patch -p1 < ../../0002-*.patch
-	./configure
-	make all -j 4
-	mv lib/libjemalloc.so.1 lib/libjemalloc.so.vrange
-	popd
-	popd
-fi