Unverified Commit 0c823ea0 authored by MatteoPologruto's avatar MatteoPologruto Committed by GitHub

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

* Migrate TestCompileWithLibrary from test_compile_part_4.py to compile_part_4_test.go

* Migrate TestCompileWithLibraryPriority from test_compile_part_4.py to compile_part_4_test.go

* Migrate TestRecompileWithDifferentLibrary from test_compile_part_4.py to compile_part_4_test.go

* Migrate TestCompileWithConflictingLibrariesInclude from test_compile_part_4.py to compile_part_4_test.go

* Migrate TestCompileWithInvalidBuildOptionJson from test_compile_part_4.py to compile_part_4_test.go

* Migrate TestCompileWithEsp32BundledLibraries from test_compile_part_4.py to compile_part_4_test.go

* Migrate TestCompileWithEsp8266BundledLibraries from test_compile_part_4.py to compile_part_4_test.go

* Migrate TestGenerateCompileCommandsJsonResilience from test_compile_part_4.py to compile_part_4_test.go

* Migrate TestCompileSketchWithTppFileInclude from test_compile_part_4.py to compile_part_4_test.go

* Migrate TestCompileSketchWithIppFileInclude from test_compile_part_4.py to compile_part_4_test.go

* Migrate TestCompileWithoutUploadAndFqbn from test_compile_part_4.py to compile_part_4_test.go

* Migrate TestCompileNonInstalledPlatformWithWrongPackagerAndArch from test_compile_part_4.py to compile_part_4_test.go

* Migrate TestCompileWithKnownPlatformNotInstalled from test_compile_part_4.py to compile_part_4_test.go

* Migrate TestCompileManuallyInstalledPlatformUsingBoardsLocalTxt from test_compile_part_4.py to compile_part_4_test.go

* Migrate TestCompileWithRelativeBuildPath from test_compile_part_4.py to compile_part_4_test.go

* Migrate TestCompileWithFakeSecureBootCore to compile_part_4_test.go and delete test_compile_part_4.py

* Rearrange compile tests to share the same environment
parent 0b2c38df
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
## 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}
\ No newline at end of file
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment