-
-
Notifications
You must be signed in to change notification settings - Fork 422
Porting legacy
tests to new integration-test infra (part 4...)
#2315
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
40f0110
ported SketchThatIncludesArduinoH from legacy into integration test
alessio-perugini 380bd2b
ported SketchWithStaticAsserts from legacy into integration test
alessio-perugini 010ec16
ported SketchWithEnumClass from legacy into integration test
alessio-perugini 2213a52
ported SketchWithExternC from legacy into integration test
alessio-perugini 90cbaa3
ported testBuilderSketchWithMultilinePrototypes from legacy into inte...
alessio-perugini 7126d9b
ported SketchWithExternCMultiline from legacy into integration test
alessio-perugini 257f146
ported SketchWithMultilineTemplate from legacy into integration test
alessio-perugini c9c8e3c
ported SketchWithFakeFunctionPointer from legacy into integration test
alessio-perugini 6f6822f
fix wrong templating
alessio-perugini 09d6e20
ported SketchWithMinMaxDefinitions from legacy into integration test
alessio-perugini da31148
ported SketchWithFastledsLibrary from legacy into integration test
alessio-perugini 66394be
ported sketch with merged sketch and bootloader from legacy into inte...
alessio-perugini 3be02a5
temporary disable legacy test, before porting them to the new infra
alessio-perugini 74de390
update .gitignore
alessio-perugini 7e99332
ported CheckBuildOptionsFile from legacy into integration test
alessio-perugini 6e358dc
ported SketchClassFunction from legacy into integration test
alessio-perugini 26c9c95
ported SketchThatChecksIfSPIHasTransactionsAndIncludesMissingEthernet...
alessio-perugini 0bf2756
remove legacy builder test folder
alessio-perugini 1a6d693
remove unsued fields from context
alessio-perugini File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
ported SketchWithStaticAsserts from legacy into integration test
- Loading branch information
commit 380bd2b7155dda6eebab7c85a0c9585fef84dffc
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
26 changes: 26 additions & 0 deletions
...ntest/compile_4/testdata/SketchWithStaticAsserts/SketchWithStaticAsserts.preprocessed.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#include <Arduino.h> | ||
#line 1 {{QuoteCppString .sketchMainFile}} | ||
// https://github.com/arduino/arduino-builder/issues/68 | ||
|
||
const int a = 10; | ||
const int b = 20; | ||
|
||
static_assert(a < b, "bar"); | ||
|
||
#line 8 {{QuoteCppString .sketchMainFile}} | ||
void setup(); | ||
#line 12 {{QuoteCppString .sketchMainFile}} | ||
void loop(); | ||
#line 15 {{QuoteCppString .sketchMainFile}} | ||
void test(); | ||
#line 8 {{QuoteCppString .sketchMainFile}} | ||
void setup() { | ||
test(); | ||
} | ||
|
||
void loop() { | ||
} | ||
|
||
void test() { | ||
} | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.