Skip to content

Always expect executable to be available in pde.build.tests#1841

Merged
HannesWell merged 1 commit intoeclipse-pde:masterfrom
HannesWell:expect-exe-in-tests
Jul 7, 2025
Merged

Always expect executable to be available in pde.build.tests#1841
HannesWell merged 1 commit intoeclipse-pde:masterfrom
HannesWell:expect-exe-in-tests

Conversation

@HannesWell
Copy link
Copy Markdown
Member

No description provided.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 28, 2025

Test Results

   765 files  ±0     765 suites  ±0   54m 35s ⏱️ - 1m 0s
 3 611 tests ±0   3 556 ✅ +21   55 💤  - 21  0 ❌ ±0 
10 833 runs  ±0  10 667 ✅ +65  166 💤  - 65  0 ❌ ±0 

Results for commit 2814f95. ± Comparison against base commit f6d83fd.

♻️ This comment has been updated with latest results.

@HannesWell HannesWell force-pushed the expect-exe-in-tests branch 6 times, most recently from b2c8cbd to 098abe0 Compare June 29, 2025 15:58
Copy link
Copy Markdown
Member Author

@HannesWell HannesWell left a comment

Choose a reason for hiding this comment

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

With eclipse-tycho/tycho#5151 installed, this now passes locally.
I just had to disable one test-case for verification builds.

We just have to await until it is available in the Tycho 5 snapshot.

Comment on lines +164 to +165
// In verification builds this file is currently not created. TODO: Fix this!
assumeTrue(Files.exists(iniFile.getLocation().toPath()));
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.

Somehow this ini file is not created properly in the verification test setup.
This was not noticed before because the failure to find the executable disabled the test entirely.

@HannesWell HannesWell force-pushed the expect-exe-in-tests branch 6 times, most recently from fe58fb3 to 1aae887 Compare July 7, 2025 07:19
@HannesWell HannesWell force-pushed the expect-exe-in-tests branch from 1aae887 to 9cc11a4 Compare July 7, 2025 07:56
and fix look-up of executable in verification tests.

Also apply minor simplifications to org.eclipse.pde.build.tests\pom.xml.
@HannesWell HannesWell force-pushed the expect-exe-in-tests branch from 9cc11a4 to 2814f95 Compare July 7, 2025 07:56
@HannesWell HannesWell merged commit 890d7aa into eclipse-pde:master Jul 7, 2025
16 of 17 checks passed
@HannesWell HannesWell deleted the expect-exe-in-tests branch July 7, 2025 15:51
@HannesWell
Copy link
Copy Markdown
Member Author

HannesWell commented Jul 8, 2025

Looks like this broke the I-Build tests:
https://download.eclipse.org/eclipse/downloads/drops4/I20250707-1800/testresults/html/org.eclipse.pde.build.tests_ep437I-unit-linux-x86_64-java21_linux.gtk.x86_64_21.html

Probably the assumption that the last part of the stack search is only used in verification builds was wrong and having both paths searched hopefully fixes it again.
I'll try to push a fix by this evening, but don't know for sure when I have time.

HannesWell added a commit to HannesWell/eclipse.pde that referenced this pull request Jul 8, 2025
HannesWell added a commit that referenced this pull request Jul 8, 2025
sderazo pushed a commit to JoseRodriguez26/CodedayPDEJ that referenced this pull request Aug 13, 2025
trancexpress pushed a commit to trancexpress/eclipse.pde that referenced this pull request Nov 10, 2025
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