summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2014-03-14 16:03:17 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2014-03-14 17:07:10 +0000
commit8f1fe553d47003ea1043c5e57e3bed4beeb95bde (patch)
tree852cd8ec8261f6eb83f493bd51b68eca81bda72b
parentb2c52b4634f7893aa441c551ead25599a5373fbb (diff)
downloadmorph-8f1fe553d47003ea1043c5e57e3bed4beeb95bde.tar.gz
Remove bootstrap-mode cmdtest
This is tested in yarns already, and this test breaks the test suite on any architecture but x86_64.
-rwxr-xr-xtests.build/bootstrap-mode.script43
-rw-r--r--tests.build/bootstrap-mode.stdout13
2 files changed, 0 insertions, 56 deletions
diff --git a/tests.build/bootstrap-mode.script b/tests.build/bootstrap-mode.script
deleted file mode 100755
index 0ac66220..00000000
--- a/tests.build/bootstrap-mode.script
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/bin/sh
-#
-# Copyright (C) 2011-2014 Codethink Limited
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; version 2 of the License.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-
-
-## 'bootstrap' mode is similar to 'test' mode, but they should not be included
-## in the final stratum artifact. This feature is used to bootstrap the
-## build-essential stratum using the toolchain of the host.
-
-set -eu
-
-# Create a fake 'compiler' chunk to go into build-essential stratum
-"$SRCDIR/tests.build/setup-build-essential"
-
-"$SRCDIR/scripts/test-morph" build-morphology \
- test:morphs-repo master hello-system
-
-cd "$DATADIR/cache/artifacts"
-echo "build-essential strata:"
-for stratum in $(find . -regex '.*\.stratum\.build-essential-[^.]*$' | sort)
-do
- echo "$stratum"
- sed 's/[a-f0-9]\{64\}/xxxx/g' "$stratum"
- echo
-done
-echo
-echo "hello-system:"
-system=$(ls *hello-system-rootfs)
-tar tf "$system" | LC_ALL=C sort -u | sed '/^\.\/./s:^\./::' \
- | grep -v '^baserock'
diff --git a/tests.build/bootstrap-mode.stdout b/tests.build/bootstrap-mode.stdout
deleted file mode 100644
index 26544a75..00000000
--- a/tests.build/bootstrap-mode.stdout
+++ /dev/null
@@ -1,13 +0,0 @@
-build-essential strata:
-./2271bef9cb222b1fd49bd2bcf3da435e02b4e0ce9fdddbcdf9358f608f51b547.stratum.build-essential-devel
-["xxxx.chunk.cc-devel", "xxxx.chunk.cc-doc"]
-./2a908a170acf10b4e9e131a007c8f3f0fa4961a7227c60793b3550c107f4c312.stratum.build-essential-runtime
-["xxxx.chunk.cc-bins", "xxxx.chunk.cc-libs", "xxxx.chunk.cc-locale", "xxxx.chunk.cc-misc"]
-
-hello-system:
-./
-etc/
-etc/os-release
-usr/
-usr/bin/
-usr/bin/hello