Skip to content

CI: align test flags in various config files#7690

Closed
mback2k wants to merge 1 commit intocurl:masterfrom
mback2k:makefile-ci-target
Closed

CI: align test flags in various config files#7690
mback2k wants to merge 1 commit intocurl:masterfrom
mback2k:makefile-ci-target

Conversation

@mback2k
Copy link
Copy Markdown
Member

@mback2k mback2k commented Sep 9, 2021

  1. Remove redundant parameters -a -p from target test-nonflaky.
  2. Disable testing of SCP protocol on native Windows environments.
  3. Use Makefile target to run tests in autotools builds on AppVeyor.
  4. Don't use -vc parameter which is reserved for debugging.

Replaces #7591

--

The other things mentioned in #7591 will be done separately.

1. Remove redundant parameters -a -p from target test-nonflaky.
2. Disable testing of SCP protocol on native Windows environments.
3. Use Makefile target to run tests in autotools builds on AppVeyor.
4. Don't use -vc parameter which is reserved for debugging.

Replaces curl#7591
@mback2k mback2k added tidy-up CI Continuous Integration labels Sep 9, 2021
@mback2k mback2k self-assigned this Sep 9, 2021
@mback2k mback2k added the tests label Sep 9, 2021
@mback2k mback2k changed the title CI: align make and test flags in various config files CI: align test flags in various config files Sep 11, 2021
@mback2k mback2k requested a review from bagder September 12, 2021 09:55
@mback2k mback2k marked this pull request as ready for review September 12, 2021 09:55
@mback2k
Copy link
Copy Markdown
Member Author

mback2k commented Sep 12, 2021

The zuul CI failure is unrelated to this PR as those CI files aren't touched.

Copy link
Copy Markdown
Member

@bagder bagder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure I see the benefit of this, but if you think it makes things better go for it.

I think maybe added conditional check for appveyor is a bit hidden here while probably being the larger actual change!

env:
AZURE_ACCESS_TOKEN: "$(System.AccessToken)"
TFLAGS: "-u -vc /usr/bin/curl.exe -r -rm $(tests)"
TFLAGS: "-r -rm -u !SCP $(tests)"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does anyone ever read the -r generated output? I know I never do it.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do sometimes as one way to figure out potential reasons for test flakiness and timeouts.

@mback2k mback2k closed this in 02c9802 Sep 27, 2021
mback2k added a commit to mback2k/curl that referenced this pull request Sep 27, 2021
Make it easy to use the same set of test flags
throughout all current and future CI builds.

Follow up to curl#7690
mback2k added a commit that referenced this pull request Oct 8, 2021
Make it easy to use the same set of test flags
throughout all current and future CI builds.

Reviewed-by: Jay Satiro

Follow up to #7690
Closes #7785
mback2k added a commit to mback2k/curl that referenced this pull request Dec 13, 2021
Some CIs already build them, let's do it on more of them.

Ignore -Wformat while using GCC on mingw to compile examples.
Improve size_t to long conversion in imap-append.c example.

Ref: curl#6079
Ref: curl#6082
Assisted-by: Jay Satiro

Follow up to curl#7690
Replaces curl#7591
Closes curl#7922
mback2k added a commit that referenced this pull request Dec 14, 2021
Some CIs already build them, let's do it on more of them.

Reviewed-by: Daniel Stenberg

Follow up to #7690 and 77311f4
Replaces #7591
Closes #7922
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI Continuous Integration tests tidy-up

Development

Successfully merging this pull request may close these issues.

2 participants