ForNeVeR / ForNeVeR/Cesium

Use standard preprocessor definitions in codegen tests

Open
#390 0 comments 0 reactions 0 assignees View on GitHub
area:infrastructure good-first-issue status:help-wanted
Dominant language
C#
Stars
451
Forks
49
Avg merge
13h 59m
Merged PRs (30d)
6

Description

Certain language features — say, `offsetof` — rely on preprocessor for their implementation.

It really does make sense to write tests for these features using the same preprocessor definitions we use in the standard library.

But currently, there's no good way of achieving this: the standard includes are unavailable in the `CodeGenTestBase`-derived tests.

Let's allow the tests to use standard includes (either unblock that in `CodeGenTestBase` or create a new test base class for that), and then enable the tests marked with `TODO[#390]`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.