Skip to content

Conversation

@HeikoKlare
Copy link
Contributor

@HeikoKlare HeikoKlare commented Jan 15, 2026

The SWT tests are currently executed with the default autoscaling settings during I-Builds. For Tycho test execution (e.g., in GitHub Actions runs), the configuration is modified to run in "quarter" autoscaling mode. Since multiple different autoscaling modes need to be supported (especially on Windows), the execution with just one configuration leads to a high risk of undetected regressions with other configurations.

This change extends the I-Build test execution to run the test suite with OS default settings and with one relevant non-default set of settings. For Windows, this will specifically cover the monitor-specific scaling with "quarter" autoscaling and non-monitor-specific scaling with "integer" autoscaling. For Linux and MacOS, which do not support monitor-specific scaling, this reduces to testing "integer" and "quarter" modes. This is achieved by an additional, accordingly configured test suite, which is added to the test.xml to be executed in I-Builds.
To keep the Tycho test execution times low (also used in GitHub Actions runs), that test suite is not added to Tycho test execution. The configuration is adapted to use the OS default settings for the Tycho runs (instead of using "quarter" mode, which is now covered by I-Build tests instead).

This becomes particularly useful when changing the Windows default for autoscaling in SWT to monitor-specific scaling, as it will ensure regression testing with the pre-existing default autoscaling settings:

@github-actions
Copy link
Contributor

github-actions bot commented Jan 15, 2026

Test Results

  176 files  + 3    176 suites  +3   27m 59s ⏱️ + 4m 9s
4 677 tests + 1  4 655 ✅ + 2  22 💤  - 1  0 ❌ ±0 
  482 runs  +18    476 ✅ +17   6 💤 +1  0 ❌ ±0 

Results for commit 2d23cfa. ± Comparison against base commit 640c747.

♻️ This comment has been updated with latest results.

The SWT tests are currently executed with the default autoscaling
settings during I-Builds. For Tycho test execution (e.g., in GitHub
Actions runs), the configuration is modified to run in "quarter"
autoscaling mode. Since multiple different autoscaling modes need to be
supported (especially on Windows), the execution with just one
configuration leads to a high risk of undetected regressions with other
configurations.

This change extends the I-Build test execution to run the test suite
with OS default settings and with one relevant non-default set of
settings. For Windows, this will specifically cover the monitor-specific
scaling with "quarter" autoscaling and non-monitor-specific scaling with
"integer" autoscaling. For Linux and MacOS, which do not support
monitor-specific scaling, this reduces to testing "integer" and
"quarter" modes. This is achieved by an additional, accordingly
configured test suite, which is added to the test.xml to be executed in
I-Builds.
To keep the Tycho test execution times low (also used in GitHub Actions
runs), that test suite is not added to Tycho test execution. The
configuration is adapted to use the OS default settings for the Tycho
runs (instead of using "quarter" mode, which is now covered by I-Build
tests instead).
@HeikoKlare HeikoKlare force-pushed the swt-tests-autoscale-configurations branch from 349d7a2 to 2d23cfa Compare January 15, 2026 14:28
@HeikoKlare
Copy link
Contributor Author

Let's take today's I-Build to see if this works as expected.

@HeikoKlare HeikoKlare merged commit eed00e5 into eclipse-platform:master Jan 15, 2026
23 checks passed
@HeikoKlare HeikoKlare deleted the swt-tests-autoscale-configurations branch January 15, 2026 16:19
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.

Enable monitor-specific scaling by default in SWT

1 participant