Skip to content

Make Powershell stop on errors [depends-on: #3616, blocks: #2310, #3636, #3637] #3627

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 2, 2019

Conversation

tautschnig
Copy link
Collaborator

We had failing regression tests, but this went unnoticed because the goto-cl
regression tests were successful (which were the last common run in the cmdlet).

  • Each commit message has a non-empty body, explaining why the change was made.
  • n/a Methods or procedures I have added are documented, following the guidelines provided in CODING_STANDARD.md.
  • n/a The feature or user visible behaviour I have added or modified has been documented in the User Guide in doc/cprover-manual/
  • Regression or unit tests are included, or existing tests cover the modified code (in this case I have detailed which ones those are in the commit message).
  • n/a My commit message includes data points confirming performance improvements (if claimed).
  • My PR is restricted to a single feature or bugfix.
  • n/a White-space or formatting changes outside the feature-related changed lines are in commits of their own.

Copy link
Contributor

@allredj allredj left a comment

Choose a reason for hiding this comment

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

✔️
Passed Diffblue compatibility checks (cbmc commit: 10aeffe).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/95900880

kroening pushed a commit that referenced this pull request Dec 28, 2018
Fix expected exit codes for Windows/Visual Studio [blocks: #2310, #3627]
@tautschnig tautschnig changed the title Make Powershell stop on errors [depends-on: #3616, #3624, #3625, #3626, blocks: #2310] Make Powershell stop on errors [depends-on: #3616, #3624, #3626, blocks: #2310] Dec 28, 2018
kroening pushed a commit that referenced this pull request Dec 28, 2018
Windows/64bit uses signed long long as index type [blocks: #2310, #3627]
@tautschnig tautschnig changed the title Make Powershell stop on errors [depends-on: #3616, #3624, #3626, blocks: #2310] Make Powershell stop on errors [depends-on: #3616, #3624, blocks: #2310] Dec 28, 2018
@tautschnig tautschnig changed the title Make Powershell stop on errors [depends-on: #3616, #3624, blocks: #2310] Make Powershell stop on errors [depends-on: #3616, #3624, blocks: #2310, #3636, #3637] Dec 28, 2018
Copy link
Contributor

@allredj allredj left a comment

Choose a reason for hiding this comment

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

✔️
Passed Diffblue compatibility checks (cbmc commit: aeded54).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/95911410

@tautschnig tautschnig self-assigned this Dec 29, 2018
@tautschnig tautschnig changed the title Make Powershell stop on errors [depends-on: #3616, #3624, blocks: #2310, #3636, #3637] Make Powershell stop on errors [depends-on: #3616, blocks: #2310, #3636, #3637] Dec 31, 2018
tautschnig added a commit that referenced this pull request Dec 31, 2018
Mark failing tests KNOWNBUG [blocks: #2310, #3627]
Copy link
Contributor

@allredj allredj left a comment

Choose a reason for hiding this comment

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

✔️
Passed Diffblue compatibility checks (cbmc commit: 430c6a6).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/95993085

tautschnig added a commit that referenced this pull request Jan 2, 2019
Move regression tests of the C front-end to a suitable folder [blocks: #2310, #3627]
We had failing regression tests, but this went unnoticed because the goto-cl
regression tests were successful (which were the last common run in the cmdlet).
Copy link
Contributor

@allredj allredj left a comment

Choose a reason for hiding this comment

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

✔️
Passed Diffblue compatibility checks (cbmc commit: 2d9c00b).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/96062013

@@ -64,6 +64,9 @@ phases:
- |
$env:Path = "C:\tools\cygwin\bin;$env:Path"
cmd /c 'call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x64 && bash -c "make -C regression test BUILD_ENV=MSVC" '

- |
Copy link
Contributor

@chrisr-diffblue chrisr-diffblue Jan 2, 2019

Choose a reason for hiding this comment

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

Apologies if I don't understand the buildspec + windows combination - but why does regression/goto-cl need to be treated any differently from any of the other subdirectories in regression/ ?

Copy link
Contributor

@smowton smowton Jan 2, 2019

Choose a reason for hiding this comment

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

I think it's just that goto-cl is not part of the standard make test target set. Perhaps we should make it so under win32, either by checking $OS or by checking if cl.exe appears to be in the path using which.

Copy link
Contributor

Choose a reason for hiding this comment

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

Fixing up the make test target to understand that on win32 or whatever, extra targets should be added would probably be preferable/less error prone when moving between CI infrastructure, etc.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I'll take care of this in a separate PR. We also have some weird interaction between scripts removing dirs and the makefiles at the moment, which should all go away thanks to the -X/-I options in test.pl.

@tautschnig tautschnig merged commit 19bd2bf into diffblue:develop Jan 2, 2019
@tautschnig tautschnig deleted the vs-fail branch January 2, 2019 22:02
tautschnig added a commit that referenced this pull request Jan 2, 2019
Do not use global variable that requires an initializer function [depends-on: #3627]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants