Commit eee15bae authored by Juan Batiz-Benet's avatar Juan Batiz-Benet

remove test-sharness-config

parent 54651618
...@@ -46,4 +46,6 @@ fi ...@@ -46,4 +46,6 @@ fi
# ok, move things into place # ok, move things into place
mv $sfile.test $sfile mv $sfile.test $sfile
mv $afile.test $afile mv $afile.test $afile
chmod +x $sfile
chmod +x $afile
exit 0 exit 0
...@@ -6,9 +6,7 @@ ...@@ -6,9 +6,7 @@
# MIT Licensed; see the LICENSE file in this repository. # MIT Licensed; see the LICENSE file in this repository.
# #
. ./test-sharness-config.sh SHARNESS_AGGREGATE="./aggregate-results.sh"
SHARNESS_AGGREGATE="$SHARNESS_DIRECTORY/aggregate-results.sh"
test -f "$SHARNESS_AGGREGATE" || { test -f "$SHARNESS_AGGREGATE" || {
echo >&2 "Cannot find: $SHARNESS_AGGREGATE" echo >&2 "Cannot find: $SHARNESS_AGGREGATE"
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
# We are using sharness (https://github.com/mlafeldt/sharness) # We are using sharness (https://github.com/mlafeldt/sharness)
# which was extracted from the Git test framework. # which was extracted from the Git test framework.
. ./test-sharness-config.sh SHARNESS_LIB="./sharness.sh"
. "$SHARNESS_LIB" || { . "$SHARNESS_LIB" || {
echo >&2 "Cannot source: $SHARNESS_LIB" echo >&2 "Cannot source: $SHARNESS_LIB"
......
# Copyright (c) 2014 Christian Couder
# MIT Licensed; see the LICENSE file in this repository.
#
# We are using sharness (https://github.com/mlafeldt/sharness)
# which was extracted from the Git test framework.
# You need either sharness to be installed system-wide or
# to set the SHARNESS_DIRECTORY environment variable properly.
if test -z "$SHARNESS_DIRECTORY"
then
SHARNESS_DIRECTORY=/usr/local/share/sharness
fi
SHARNESS_LIB="$SHARNESS_DIRECTORY/sharness.sh"
test -f "$SHARNESS_LIB" || {
echo >&2 "Cannot find sharness.sh in: $SHARNESS_DIRECTORY"
echo >&2 "Please install Sharness system-wide or set the"
echo >&2 "SHARNESS_DIRECTORY environment variable."
echo >&2 "See: https://github.com/mlafeldt/sharness"
exit 1
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment