Skip to content

[skip-changelog] Migrate tests from test_compile_part_4.py to compile_part_4_test.go #1924

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 17 commits into from
Nov 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
44981a2
Migrate TestCompileWithLibrary from test_compile_part_4.py to compile…
MatteoPologruto Sep 30, 2022
c6ea437
Migrate TestCompileWithLibraryPriority from test_compile_part_4.py to…
MatteoPologruto Sep 30, 2022
560baa3
Migrate TestRecompileWithDifferentLibrary from test_compile_part_4.py…
MatteoPologruto Sep 30, 2022
266723e
Migrate TestCompileWithConflictingLibrariesInclude from test_compile_…
MatteoPologruto Sep 30, 2022
28d1020
Migrate TestCompileWithInvalidBuildOptionJson from test_compile_part_…
MatteoPologruto Sep 30, 2022
e072c98
Migrate TestCompileWithEsp32BundledLibraries from test_compile_part_4…
MatteoPologruto Sep 30, 2022
9ca8a7b
Migrate TestCompileWithEsp8266BundledLibraries from test_compile_part…
MatteoPologruto Sep 30, 2022
116bfd9
Migrate TestGenerateCompileCommandsJsonResilience from test_compile_p…
MatteoPologruto Sep 30, 2022
53fb571
Migrate TestCompileSketchWithTppFileInclude from test_compile_part_4.…
MatteoPologruto Sep 30, 2022
bfacc80
Migrate TestCompileSketchWithIppFileInclude from test_compile_part_4.…
MatteoPologruto Sep 30, 2022
34b9f78
Migrate TestCompileWithoutUploadAndFqbn from test_compile_part_4.py t…
MatteoPologruto Sep 30, 2022
2b2f491
Migrate TestCompileNonInstalledPlatformWithWrongPackagerAndArch from …
MatteoPologruto Sep 30, 2022
79961f1
Migrate TestCompileWithKnownPlatformNotInstalled from test_compile_pa…
MatteoPologruto Sep 30, 2022
0e32825
Migrate TestCompileManuallyInstalledPlatformUsingBoardsLocalTxt from …
MatteoPologruto Oct 5, 2022
9cc05ac
Migrate TestCompileWithRelativeBuildPath from test_compile_part_4.py …
MatteoPologruto Oct 5, 2022
d145c30
Migrate TestCompileWithFakeSecureBootCore to compile_part_4_test.go a…
MatteoPologruto Oct 6, 2022
517a54e
Rearrange compile tests to share the same environment
MatteoPologruto Oct 14, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
569 changes: 569 additions & 0 deletions internal/integrationtest/compile/compile_test.go

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
menu.security=Security setting

uno.menu.security.none=None
uno.menu.security.sien=Signature + Encryption

uno.menu.security.sien.build.postbuild.cmd="{tools.imgtool.cmd}" {tools.imgtool.flags}
uno.menu.security.none.build.postbuild.cmd="{tools.imgtool.cmd}" exit

uno.menu.security.sien.build.keys.keychain={runtime.hardware.path}/Default_Keys
uno.menu.security.sien.build.keys.sign_key=default-signing-key.pem
uno.menu.security.sien.build.keys.encrypt_key=default-encrypt-key.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
## Create output secure image (bin file)
recipe.hooks.objcopy.postobjcopy.1.pattern={build.postbuild.cmd}
#
# IMGTOOL
#

tools.imgtool.cmd=echo
tools.imgtool.flags=sign --key "{build.keys.keychain}/{build.keys.sign_key}" --encrypt "{build.keys.keychain}/{build.keys.encrypt_key}" "{build.path}/{build.project_name}.bin" "{build.path}/{build.project_name}.bin" --align {build.alignment} --max-align {build.alignment} --version {build.version} --header-size {build.header_size} --pad-header --slot-size {build.slot_size}
501 changes: 0 additions & 501 deletions test/test_compile_part_4.py

This file was deleted.