summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rwxr-xr-xtest27
1 files changed, 14 insertions, 13 deletions
diff --git a/test b/test
index 73dd613..8c41daa 100755
--- a/test
+++ b/test
@@ -24,23 +24,24 @@ fi
src=build2-$v
+#if false; then
+
# Update the development build.
#
info "making sure everythings is up to date..."
b build2/ bpkg/
-# Test repository with the earliest and latest (development build via
+
+# Test queue with the earliest and latest (as development build via
# /usr/local links) toolchains.
#
-# etc1/install/0.1.0
-#
-for t in /usr/local; do
- cppget.org/test -t $t -n \
+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/
+cppget.org/repository/1/queue/
done
# Test the build2-toolchain INSTALL procedure (plus brep) with the earliest
@@ -54,7 +55,7 @@ for c in g++-4.8 g++-4.9 g++-5; do
--cxx $c \
--cppflags "-I/usr/include/apache2 -I/usr/include/apr-1.0" \
$src/build2-toolchain-$tcv.tar.gz \
-http://pkg.cppget1/1/alpha
+https://pkg.cppget.org/1/queue
done
# This doesn't work since libodb, etc are using libstdc++.
@@ -66,14 +67,14 @@ for c in clang++-3.5 clang++-3.6; do
--cppflags "-I/usr/include/apache2 -I/usr/include/apr-1.0" \
--cxxflags --stdlib=libc++ \
$src/build2-toolchain-$tcv.tar.gz \
-http://pkg.cppget1/1/alpha
+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 \
-http://pkg.cppget1/1/alpha
+https://pkg.cppget.org/1/queue
# Test on FreeBSD with Clang 3.4 (default) and Clang 3.7.
#
@@ -83,7 +84,7 @@ 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 http://pkg.cppget1/1/alpha
+build2-toolchain-$tcv.tar.gz https://pkg.cppget.org/1/queue
done
# Also run the Intro steps based on the toolchain we just built.
@@ -98,13 +99,13 @@ ssh freebsd cd /tmp ';' ./intro \
-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++ --bpkgflags \
-"'--fetch-option --resolve --fetch-option pkg.cppget1:8080:192.168.0.19'" \
-build2-toolchain-$tcv.tar.gz http://pkg.cppget1:8080/1/alpha
+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.
#