Commit Graph
5 Commits
Author SHA1 Message Date
Kacper Kasper dfa51c4fb8 Don't add extra packages to test image
* Test inherits from minimum target.
2026-02-27 20:09:37 +01:00
Kacper Kasper 63ad603268 Disable flaky/failing tests
* Adjust UnitTestResource rule to allow creating directory
  structures.

Change-Id: I109688d47a457015a7b35cda9616ec4b5f40e9c5
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10356
Reviewed-by: Kacper Kasper <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2026-02-23 18:31:03 +00:00
Kacper Kasper 4d34786610 tests: Fix TestShell to include all tests
* Conversion from BTestSuite to CppUnit::TestSuite excluded some
  test suites due to empty name.

Change-Id: I8ab597df82c8cafd9911415c217e32ecbf7efef6
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10352
Reviewed-by: Adrien Destugues <[email protected]>
2026-02-21 11:54:08 +00:00
Kacper Kasper 7556a0d9fb app_server: Fix crash when gradient has no color stops
Change-Id: Ic84b40965552b27b01eb8d6b50e51faed1b4c9ea
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10351
Haiku-Format: Haiku-format Bot <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
2026-02-21 11:53:59 +00:00
Kacper Kasper dc8424dd5e unittests: Start simplifying test structure
* Rework ByteOrderTest and DateTimeTest to use autoregistration.
* Functional changes in ByteOrderTest are confirmed in git history
  to be R5 compatibility fixes. This doesn't include B_ASCII_TYPE -
  it seems it has never been part of is_type_swapped().
* Autoregistered test names start with a number - this is because
  RTTI is used to create them. Disabling RTTI is not an option
  because CppUnit in our repo has a broken macro which always sets
  the name to "ATestFixtureType". This is probably fixed in newer
  CppUnit versions.

Change-Id: I56ab5df6e998b6f47fca3c3458a56a761c1740a8
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10266
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Kacper Kasper <[email protected]>
2026-02-20 19:31:36 +00:00