Skip to content

Commit 3485fdd

Browse files
Merge pull request openshift#6929 from shiftstack/manifest_test_print_dir
openstack-manifest: Show assets dir if persisted
2 parents cc46260 + 1b03f46 commit 3485fdd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

hack/openstack/test-manifests.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,11 @@ for testcase in "${tests_dir}"/* ; do
108108
if [ -d "$testcase" ] && [[ "$testcase" =~ $run ]]; then
109109
echo
110110
echo "*** TEST CASE: $(basename "${testcase}")"
111-
((test_counter+=1))
112111
assets_dir="$(mktemp -d)"
112+
if [[ "$persist" != 'NO' ]]; then
113+
echo "Generated assets for this test can be found in ${assets_dir}"
114+
fi
115+
((test_counter+=1))
113116
temp_dirs+=("$assets_dir")
114117
fill_install_config "${testcase}/install-config.yaml" > "${assets_dir}/install-config.yaml"
115118
"$openshift_install" --log-level warn create manifests --dir "$assets_dir"

0 commit comments

Comments
 (0)