diff options
author | Bernard Ogden <bernie.ogden@linaro.org> | 2015-04-28 15:08:58 +0100 |
---|---|---|
committer | Bernard Ogden <bernie.ogden@linaro.org> | 2015-04-29 15:57:03 +0100 |
commit | ff5ed14f2afab4a045b6994c31f89a56e26f7795 (patch) | |
tree | f026891df40ed36fed1030241be1d48e8a226fe2 /testsuite | |
parent | b334bf87baa26341fd4a7e0212fec8c0d195542e (diff) |
Fix comments re synthesised test environment
Change-Id: Iee8c7c1267cb8c776b5e2771b835e5cf262fd134
Diffstat (limited to 'testsuite')
-rwxr-xr-x | testsuite/test.sh | 13 |
1 files changed, 7 insertions, 6 deletions
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 <repo>.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: <repo>.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: <repo>.git@<revision> 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: <repo>.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: <repo>.git/<branch> 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: <repo>.git/<branch>@<revision> matches non .git suffixed url." in="foo.git/bar@12345" if test ! -e "${PWD}/host.conf"; then |