From ff5ed14f2afab4a045b6994c31f89a56e26f7795 Mon Sep 17 00:00:00 2001 From: Bernard Ogden Date: Tue, 28 Apr 2015 15:08:58 +0100 Subject: Fix comments re synthesised test environment Change-Id: Iee8c7c1267cb8c776b5e2771b835e5cf262fd134 --- testsuite/test.sh | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'testsuite') diff --git a/testsuite/test.sh b/testsuite/test.sh index 2ee485ad..0a2a4092 100755 --- a/testsuite/test.sh +++ b/testsuite/test.sh @@ -602,6 +602,7 @@ else fixme "get_URL returned ${out}" fi +# The regular sources.conf won't have this entry. testing="get_URL: git URL where sources.conf has a tab" if test ! -e "${PWD}/host.conf"; then out="`get_URL gcc_tab.git`" @@ -974,9 +975,6 @@ fi echo "============= get_source() tests ================" # TODO Test ${sources_conf} for ${in} for relevant tests. -# Mark tests as untested if the expected match isn't in sources_conf. -# This might be due to running testsuite in a builddir rather than a -# source dir. # get_sources might, at times peak at latest for a hint if it can't find # things. Keep it unset unless you want to test a specific code leg. @@ -1110,7 +1108,7 @@ for transport in ssh git http; do fi done -# These aren't valid if testing from a build directory. +# The regular sources.conf won't have this entry testing="get_source: full url with .git with no matching source.conf entry should fail." if test ! -e "${PWD}/host.conf"; then in="http://git.linaro.org/git/toolchain/foo.git" @@ -1129,7 +1127,7 @@ else untested "${testing}" fi -# These aren't valid if testing from a build directory. +# No sources.conf should have this entry, but use the one under test control testing="get_source: .git identifier with no matching source.conf entry should fail." if test ! -e "${PWD}/host.conf"; then in="nomatch.git" @@ -1148,7 +1146,7 @@ else untested "${testing}" fi -# These aren't valid if testing from a build directory. +# No sources.conf should have this entry, but use the one under test control testing="get_source: .git@ identifier with no matching source.conf entry should fail." if test ! -e "${PWD}/host.conf"; then in="nomatch.git@12345" @@ -1181,6 +1179,7 @@ else fixme "get_source returned ${out}" fi +# The regular sources.conf won't have this entry. testing="get_source: .git matches non .git suffixed url." in="foo.git" if test ! -e "${PWD}/host.conf"; then @@ -1195,6 +1194,7 @@ else untested "${testing}" fi +# The regular sources.conf won't have this entry. testing="get_source: .git/ matches non .git suffixed url." in="foo.git/bar" if test ! -e "${PWD}/host.conf"; then @@ -1209,6 +1209,7 @@ else untested "${testing}" fi +# The regular sources.conf won't have this entry. testing="get_source: .git/@ matches non .git suffixed url." in="foo.git/bar@12345" if test ! -e "${PWD}/host.conf"; then -- cgit v1.2.3