Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Jun 29, 2022

Hello Pascal,

I did some changes as the tests would crash on Windows (and on Linux, really I did mistakes on the previous PR).

  • Using the system python interpreter instead of "python", more flexible
  • Using self.shell instead of Run, would not report the tests output, giving all tests blank (only empty test.out would be valid, now fixed)
  • Fixed the file name parsing using test_subdir instead of trying to get the names by redefining test_names (this would make windows tests crash)
  • Some clean-up on working directories.

Sorry for the many PRs. This should be good, at last.
Will squash when change is accepted.

Victor.

TN : 223-017

Verbeke Victor added 2 commits June 29, 2022 10:55
Two problems fixed:
- Bug introduced in previous merge request that would crash Run by
  giving it a bad kwarg. Reverted to self.shell, but used the
  e3.sys.interpreter to be more flexible.
- Replaced the tests naming by setting a tests_subdir instead of a
  test_name method, which would crash Windows tests.

TN: V223-017
Copy link
Collaborator

@TurboGit TurboGit left a comment

Choose a reason for hiding this comment

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

Looks good, thanks!

@ghost ghost merged commit f0fba60 into AdaCore:master Jun 29, 2022
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant