Validating GTK Changes
It is easy to completely crash the application when making changes it is therefore crucial to carefully validate the changes.
Sometimes it is the other way round and we see a crash and need to proof our fix is effective.
The folloing sections give a short introduction on how to test changes in the GTK code.
Create a Snippet
If not provided as part of the issue/task you need to create a Snippet that calls the code, it is often usefull to embedd the snippes in the PR description so others can easily validate your changes.
Build the native fragment
As a first step you should build the baseline to make sure you have a state
mvn clean package -pl :org.eclipse.swt.gtk.linux.x86_64
Validating GTK Changes
It is easy to completely crash the application when making changes it is therefore crucial to carefully validate the changes.
Sometimes it is the other way round and we see a crash and need to proof our fix is effective.
The folloing sections give a short introduction on how to test changes in the GTK code.
Create a Snippet
If not provided as part of the issue/task you need to create a Snippet that calls the code, it is often usefull to embedd the snippes in the PR description so others can easily validate your changes.
Build the native fragment
As a first step you should build the baseline to make sure you have a state
mvn clean package -pl :org.eclipse.swt.gtk.linux.x86_64