summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-10-01 17:27:31 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-10-01 17:27:31 +0200
commit017756f494ec95fc22bd3f43ef03e53834105674 (patch)
treed34b349c523129547825863ade98430b47bdc413 /test
parentb80502d210428de4471cc8a642dcd19aaa60ef26 (diff)
0.4.0 release updates0.4.0
Diffstat (limited to 'test')
-rwxr-xr-xtest120
1 files changed, 0 insertions, 120 deletions
diff --git a/test b/test
deleted file mode 100755
index 8c41daa..0000000
--- a/test
+++ /dev/null
@@ -1,120 +0,0 @@
-#! /usr/bin/env bash
-
-# Test build2 distribution.
-#
-# Usage: test
-#
-usage="usage: $0"
-
-owd=`pwd`
-trap "{ cd $owd; exit 1; }" ERR
-set -o errtrace # Trap in functions.
-
-function info () { echo "$*" 1>&2; }
-function error () { info "$*"; exit 1; }
-
-# Calculate versions.
-#
-tcv=`cat build2-toolchain/version`
-v=`echo $tcv | sed -e 's/^\(.*\)\.\(.*\)\..*$/\1.\2/' -`
-
-if [ -z "$v" ]; then
- error "unable to extract version from `cat build2-toolchain/version`"
-fi
-
-src=build2-$v
-
-#if false; then
-
-# Update the development build.
-#
-info "making sure everythings is up to date..."
-b build2/ bpkg/
-
-
-# Test queue with the earliest and latest (as development build via
-# /usr/local links) toolchains.
-#
-for t in etc1/install/0.2.0 /usr/local; do
- cppget.org/test -t $t \
--c cxx \
--c config.cxx.coptions="-W -Wall -Wno-unknown-pragmas" \
--c config.cxx.poptions="-I/usr/include/apache2 -I/usr/include/apr-1.0" \
--c config.cxx.loptions=-L/usr/local/lib \
-cppget.org/repository/1/queue/
-done
-
-# Test the build2-toolchain INSTALL procedure (plus brep) with the earliest
-# compiler versions we claim to support and the latest available.
-#
-# Note: Clang 3.4 and 3.7 are tested on FreeBSD below (3.4 cannot coexist
-# with newer versions on Ubuntu).
-#
-for c in g++-4.8 g++-4.9 g++-5; do
- etc/install \
---cxx $c \
---cppflags "-I/usr/include/apache2 -I/usr/include/apr-1.0" \
-$src/build2-toolchain-$tcv.tar.gz \
-https://pkg.cppget.org/1/queue
-done
-
-# This doesn't work since libodb, etc are using libstdc++.
-#
-if false; then
-for c in clang++-3.5 clang++-3.6; do
- etc/install \
---cxx $c \
---cppflags "-I/usr/include/apache2 -I/usr/include/apr-1.0" \
---cxxflags --stdlib=libc++ \
-$src/build2-toolchain-$tcv.tar.gz \
-https://pkg.cppget.org/1/queue
-done
-fi
-
-# Test installation requiring sudo.
-#
-etc/install -t -i /opt/build2 -s $src/build2-toolchain-$tcv.tar.gz \
-https://pkg.cppget.org/1/queue
-
-# Test on FreeBSD with Clang 3.4 (default) and Clang 3.7.
-#
-scp etc/install $src/build2-toolchain-$tcv.tar.gz freebsd:/tmp/
-
-for c in clang++ clang++37; do
- ssh freebsd cd /tmp ';' ./install \
---cxx $c \
---cppflags '"-I/usr/local/include/apr-1 -I/usr/local/include/apache24"' \
-build2-toolchain-$tcv.tar.gz https://pkg.cppget.org/1/queue
-done
-
-# Also run the Intro steps based on the toolchain we just built.
-#
-scp -r hello/hello2 etc/intro freebsd:/tmp/
-
-ssh freebsd cd /tmp ';' ./intro \
--t /tmp/build2-install \
--c1 clang++37 \
--c2 clang++ \
--c3 "''" \
--h /tmp/hello2 \
-https://build2.org/pkg/1/hello/
-
-
-# Test on Mac OS (no brep).
-#
-scp etc/install $src/build2-toolchain-$tcv.tar.gz rbook:/tmp/
-
-ssh rbook cd /tmp ';' ./install -t --cxx clang++ \
- build2-toolchain-$tcv.tar.gz https://pkg.cppget.org/1/queue
-
-# Again, run the Intro steps based on the toolchain we just built.
-#
-scp -r hello/hello2 etc/intro rbook:/tmp/
-
-ssh rbook cd /tmp ';' ./intro \
--t /tmp/build2-install \
--c1 clang++ \
--c2 "''" \
--c3 "''" \
--h /tmp/hello2 \
-https://build2.org/pkg/1/hello/