Skip to content
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

Fix ZLC format #85

Merged
merged 11 commits into from
Jun 1, 2021
Merged

Conversation

jtx1999
Copy link
Contributor

@jtx1999 jtx1999 commented May 28, 2021

  • Set cloneClean to false so the integration tests can test starts on modified code, thanks to @cptwonton
  • Run the tests on after mvn clean on AppVeyor and Travis, since the integration tests won't auto overwrite now.
  • Fix indexing issue in reading PLAIN_TEXT deps.zlc file, as we should read from the 0th line.
  • Comment out integration test on CLZ format. CLZ is not working currently. See CLZ format not working #86
  • Fix casting in EkstaziHelper.java. toArray() returns Object[] and toArray(new String[]) returns String[].
    • Was getting error on Java 9+: java.lang.ClassCastException: class [Ljava.lang.Object; cannot be cast to class [Ljava.lang.String; ([Ljava.lang.Object; and [Ljava.lang.String; are in module java.base of loader 'bootstrap')
  • Fix setting excludes in SurefireMojoInterceptor.java on Windows.
    • On Windows, STARTS get non-affected test paths with backward-slash separator. Surefire only accept excludes with forward-slash. So all tests were executed previously.
    • Replacing the file separator to forward slash to exclude correct tests.

github-actions bot and others added 4 commits May 28, 2021 19:43
…-test runs. this is necessary for the second STARTS run to build on top of the first STARTS run, otherwise both runs will be fresh.
@jtx1999 jtx1999 marked this pull request as draft May 28, 2021 23:22
jtx1999 added 7 commits May 29, 2021 15:09
Was getting error on Java 9+: java.lang.ClassCastException: class [Ljava.lang.Object; cannot be cast to class [Ljava.lang.String; ([Ljava.lang.Object; and [Ljava.lang.String; are in module java.base of loader 'bootstrap')
On Windows, STARTS get non-affected test paths with backward-slash separator. Surefire only accept excludes with forward-slash. So all tests were executed previously.

Replacing the file separator to forward slash to exclude correct tests.
@jtx1999 jtx1999 marked this pull request as ready for review June 1, 2021 00:13
@jtx1999
Copy link
Contributor Author

jtx1999 commented Jun 1, 2021

@owolabileg Please review. Those fixes should better be in separate PRs, but most of them were discovered while I was trying to fix the ZLC format.

@owolabileg owolabileg merged commit 30a0138 into TestingResearchIllinois:master Jun 1, 2021
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.

3 participants