Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove most help file tests.
Browse files Browse the repository at this point in the history
Keep cli help tests for message, broadcast and tui.
wxtim committed Jan 18, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent c32206d commit ad27da3
Showing 48 changed files with 10 additions and 3,005 deletions.
21 changes: 10 additions & 11 deletions tests/functional/cli/04-kgo.t
Original file line number Diff line number Diff line change
@@ -17,21 +17,20 @@
#-------------------------------------------------------------------------------
# Test "cylc set-verbosity"
. "$(dirname "$0")/test_header"
set_test_number 47
set_test_number 3

KGO="/net/home/h02/tpilling/metomi/cylc-flow/tests/functional/cli/04-kgo/"

# Get scripts described by cylc.flow entrypoints.
SCRIPTS=$(python -c "import cylc.flow as cf; print(' '.join(i.name for i in cf.iter_entry_points('cylc.command') if i.module_name.startswith('cylc.flow')))")
# List of sample scripts to test help documentation.
# broadcast - we want to keep this script consistent.
# message - we want to keep this script consistent. This script has two
# valid arg groups.
# tui - slightly non-standard script.
SCRIPTS="broadcast message tui"

for script in $SCRIPTS; do
# Generate KGO
# cylc $script --help > $KGO/$script.help 2>&1

# These three scripts can change the order of items printed:
if [[ $script != "vip" && $script != "scan" && $script != "vr" ]]; then
cylc "$script" --help > "$script.help" 2>&1
cmp_ok "$script.help" "$KGO/$script.help"
fi

done
cylc "$script" --help > "$script.help" 2>&1
cmp_ok "$script.help" "$KGO/$script.help"
done
93 changes: 0 additions & 93 deletions tests/functional/cli/04-kgo/cat-log.help

This file was deleted.

57 changes: 0 additions & 57 deletions tests/functional/cli/04-kgo/check-versions.help

This file was deleted.

81 changes: 0 additions & 81 deletions tests/functional/cli/04-kgo/clean.help

This file was deleted.

26 changes: 0 additions & 26 deletions tests/functional/cli/04-kgo/client.help

This file was deleted.

23 changes: 0 additions & 23 deletions tests/functional/cli/04-kgo/completion-server.help

This file was deleted.

114 changes: 0 additions & 114 deletions tests/functional/cli/04-kgo/config.help

This file was deleted.

63 changes: 0 additions & 63 deletions tests/functional/cli/04-kgo/cycle-point.help

This file was deleted.

58 changes: 0 additions & 58 deletions tests/functional/cli/04-kgo/diff.help

This file was deleted.

43 changes: 0 additions & 43 deletions tests/functional/cli/04-kgo/dump.help

This file was deleted.

40 changes: 0 additions & 40 deletions tests/functional/cli/04-kgo/ext-trigger.help

This file was deleted.

9 changes: 0 additions & 9 deletions tests/functional/cli/04-kgo/function-run.help

This file was deleted.

39 changes: 0 additions & 39 deletions tests/functional/cli/04-kgo/get-resources.help

This file was deleted.

17 changes: 0 additions & 17 deletions tests/functional/cli/04-kgo/get-workflow-contact.help

This file was deleted.

37 changes: 0 additions & 37 deletions tests/functional/cli/04-kgo/get-workflow-version.help

This file was deleted.

98 changes: 0 additions & 98 deletions tests/functional/cli/04-kgo/graph.help

This file was deleted.

89 changes: 0 additions & 89 deletions tests/functional/cli/04-kgo/hold.help

This file was deleted.

108 changes: 0 additions & 108 deletions tests/functional/cli/04-kgo/install.help

This file was deleted.

22 changes: 0 additions & 22 deletions tests/functional/cli/04-kgo/jobs-kill.help

This file was deleted.

21 changes: 0 additions & 21 deletions tests/functional/cli/04-kgo/jobs-poll.help

This file was deleted.

28 changes: 0 additions & 28 deletions tests/functional/cli/04-kgo/jobs-submit.help

This file was deleted.

64 changes: 0 additions & 64 deletions tests/functional/cli/04-kgo/kill.help

This file was deleted.

40 changes: 0 additions & 40 deletions tests/functional/cli/04-kgo/lint.help

This file was deleted.

91 changes: 0 additions & 91 deletions tests/functional/cli/04-kgo/list.help

This file was deleted.

47 changes: 0 additions & 47 deletions tests/functional/cli/04-kgo/pause.help

This file was deleted.

57 changes: 0 additions & 57 deletions tests/functional/cli/04-kgo/ping.help

This file was deleted.

152 changes: 0 additions & 152 deletions tests/functional/cli/04-kgo/play.help

This file was deleted.

66 changes: 0 additions & 66 deletions tests/functional/cli/04-kgo/poll.help

This file was deleted.

15 changes: 0 additions & 15 deletions tests/functional/cli/04-kgo/psutils.help

This file was deleted.

82 changes: 0 additions & 82 deletions tests/functional/cli/04-kgo/reinstall.help

This file was deleted.

73 changes: 0 additions & 73 deletions tests/functional/cli/04-kgo/release.help

This file was deleted.

65 changes: 0 additions & 65 deletions tests/functional/cli/04-kgo/reload.help

This file was deleted.

32 changes: 0 additions & 32 deletions tests/functional/cli/04-kgo/remote-init.help

This file was deleted.

22 changes: 0 additions & 22 deletions tests/functional/cli/04-kgo/remote-tidy.help

This file was deleted.

54 changes: 0 additions & 54 deletions tests/functional/cli/04-kgo/remove.help

This file was deleted.

50 changes: 0 additions & 50 deletions tests/functional/cli/04-kgo/report-timings.help

This file was deleted.

86 changes: 0 additions & 86 deletions tests/functional/cli/04-kgo/scan.help

This file was deleted.

83 changes: 0 additions & 83 deletions tests/functional/cli/04-kgo/set-outputs.help

This file was deleted.

40 changes: 0 additions & 40 deletions tests/functional/cli/04-kgo/set-verbosity.help

This file was deleted.

59 changes: 0 additions & 59 deletions tests/functional/cli/04-kgo/show.help

This file was deleted.

87 changes: 0 additions & 87 deletions tests/functional/cli/04-kgo/stop.help

This file was deleted.

29 changes: 0 additions & 29 deletions tests/functional/cli/04-kgo/subscribe.help

This file was deleted.

82 changes: 0 additions & 82 deletions tests/functional/cli/04-kgo/trigger.help

This file was deleted.

80 changes: 0 additions & 80 deletions tests/functional/cli/04-kgo/validate.help

This file was deleted.

Loading

0 comments on commit ad27da3

Please sign in to comment.