dart-sdk/tests
Daco Harkes 6101e4653b [test/ffi] Add struct stack alignment test
A smoke test to exercise alignment of structs with various field types
to see how they are aligned on the stack. Only contains small structs
because most ABIs only pass structs less than 16 bytes on the stack.

Especially tests iOS64, where `AlignOf(struct{float32;float32;}) == 4`
but `AlignOf(struct{int32;int32;}) == 8` due to the special treatment
of homogenous floats in the arm64 ABI combined with iOS decision to not
align everything on the stack to at least word size.

Test tested on iOS64 through Flutter.

structs_by_value_tests_configuration.dart is the only non-generated
file.

The tests are tested in the dependent CL. Tests are ignored in status
file and are un-ignored in dependent CL.

Tests for https://github.com/dart-lang/sdk/issues/36730.

Change-Id: I6ec4523208db740b8ea3f8a4ab1e5717f1088467
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/170691
Commit-Queue: Daco Harkes <dacoharkes@google.com>
Auto-Submit: Daco Harkes <dacoharkes@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
2020-11-06 13:54:23 +00:00
..
co19 Skip VM tests that hang on Windows 2020-10-30 11:20:43 +00:00
co19_2 Skip VM tests that hang on Windows 2020-10-30 11:20:43 +00:00
corelib [tests] Split corelib{,_2}/list_concurrent_modify_test 2020-11-05 19:46:35 +00:00
corelib_2 [tests] Split corelib{,_2}/list_concurrent_modify_test 2020-11-05 19:46:35 +00:00
dart2js Rename is{Strong,Weak}Mode to has{Sound,Unsound}NullSafety 2020-11-05 14:26:53 +00:00
dart2js_2 Rename is{Strong,Weak}Mode to has{Sound,Unsound}NullSafety 2020-11-05 14:26:53 +00:00
dartdevc Fix ddc debugger_test 2020-11-02 23:31:30 +00:00
dartdevc_2 Fix ddc debugger_test 2020-11-02 23:31:30 +00:00
ffi [test/ffi] Add struct stack alignment test 2020-11-06 13:54:23 +00:00
ffi_2 [test/ffi] Add struct stack alignment test 2020-11-06 13:54:23 +00:00
language Enable non-function type alias tests for the analyzer 2020-11-06 08:19:52 +00:00
language_2 Enable non-function type alias tests for the analyzer 2020-11-06 08:19:52 +00:00
lib Rename is{Strong,Weak}Mode to has{Sound,Unsound}NullSafety 2020-11-05 14:26:53 +00:00
lib_2 [Tests] - Fix legacy tests that broke when non nullability was enabled by default 2020-11-04 20:58:57 +00:00
modular [cfe] Ensure that default values on synthesized constructor are included in outlines 2020-09-29 11:09:14 +00:00
standalone [vm, gc] Reserve some memory to use during handling of OutOfMemoryErrors. 2020-10-30 23:07:22 +00:00
standalone_2 [Tests] - Fix legacy tests that broke when non nullability was enabled by default 2020-11-04 20:58:57 +00:00
legacy_status_dart2js.csv [dart2js] Remove obsolete unittests. 2020-05-12 17:16:39 +00:00
README.md Update tests/README to point to new doc. 2019-08-06 22:19:42 +00:00

This directory contains tests of the language and core library implementations. For more information, see https://github.com/dart-lang/sdk/wiki/Testing.