From 77c07bfd197de636ca8787b0b23a5112d320193c Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Tue, 26 Sep 2017 13:16:55 +0200 Subject: [PATCH] Remove integration test for manpage --- CONTRIBUTING.md | 8 +------- run_integration_tests.go | 8 -------- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f01c82a0e..1131c20ad 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -129,13 +129,7 @@ down to the following steps: next stable release. While writing, ask yourself: If I were the user, what would I need to be aware of with this change. - 8. When your contribution adds and/or changes command-line parameters or help - texts, the manual pages need to be regenerated and commited to the - repository. In order to do this, compile restic and save the generated - updated man pages in the subdir `doc/man` with the following command: - `./restic manpage --output-dir doc/man` - - 9. Once your code looks good and passes all the tests, we'll merge it. Thanks + 8. Once your code looks good and passes all the tests, we'll merge it. Thanks a lot for your contribution! Please provide the patches for each bug or feature in a separate branch and diff --git a/run_integration_tests.go b/run_integration_tests.go index 20e91c4bc..bef9239f8 100644 --- a/run_integration_tests.go +++ b/run_integration_tests.go @@ -280,14 +280,6 @@ func (env *TravisEnvironment) RunTests() error { return err } - if err := run("./restic", "manpage", "--output-dir", manpath); err != nil { - return err - } - - if err := run("diff", "-aur", filepath.Join("doc/man"), manpath); err != nil { - return fmt.Errorf("========== man pages are not up to date\nplease run `restic manpage --output-dir doc/man`\n%v", err) - } - return nil }