Skip to content

Commit

Permalink
less tests
Browse files Browse the repository at this point in the history
  • Loading branch information
soumeh01 committed Jul 23, 2024
1 parent 3725ad7 commit 8e7882a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
5 changes: 1 addition & 4 deletions test/pack_example_tests.csv
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
*** Test Cases ***;${pack_id};${expect};[Tags];[Documentation]
NXP::LPCXpresso55S69_BSP.18.0.0;NXP::LPCXpresso55S69_BSP@18.0.0;${0};;
NXP::LPCXpresso55S69_USB_Examples.1.0.0;NXP::LPCXpresso55S69_USB_Examples@1.0.0;${0};;
NXP::FRDM-K32L3A6_BSP.18.0.0;NXP::FRDM-K32L3A6_BSP@18.0.0;${0};;
NXP::MIMXRT1060-EVKB_BSP.18.0.0;NXP::MIMXRT1060-EVKB_BSP@18.0.0;${0};;
NXP::FRDM-K32L3A6_BSP.17.0.0;NXP::FRDM-K32L3A6_BSP@17.0.0;${0};;
4 changes: 2 additions & 2 deletions test/pack_example_tests.robot
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ Run Csolution Project
# Append To List ${args} ${filcontexts}
@{MERGED_LIST} Create List @{args} @{filcontexts}
Log Many ${MERGED_LIST}
Run Project With cbuildgen ${input_file} ${expect} ${MERGED_LIST}
Run Project with cbuild2cmake ${input_file} ${expect} ${args}
# Run Project With cbuildgen ${input_file} ${expect} ${MERGED_LIST}
Run Project with cbuild2cmake ${input_file} ${expect} ${MERGED_LIST}
${parent_path}= Get Parent Directory Path ${input_file}
${result}= Run Keyword And Return
... Compare Elf Information ${input_file}
Expand Down
12 changes: 10 additions & 2 deletions test/resources/utils.resource
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,18 @@ Run Project With cbuild2cmake
[Documentation] Run the csolution project with cbuild2cmake
[Arguments] ${input_file} ${expect} ${args}=@{EMPTY}
Append To List ${args} --cbuild2cmake
${args}= Insert At Front ${args} ${input_file}
${ret_code}= Run cbuild ${input_file} ${empty} ${args}
# ${args}= Insert At Front ${args} ${input_file}
${ret_code}= Run cbuild ${input_file} ${EMPTY} ${args}
Should Be Equal ${ret_code} ${expect} msg=Unexpected status returned by cbuild2cmake execution

# Run Project With cbuild2cmake
# [Documentation] Run the csolution project with cbuild2cmake
# [Arguments] ${input_file} ${expect} ${args}=@{EMPTY}
# Append To List ${args} --cbuild2cmake
# ${args}= Insert At Front ${args} ${input_file}
# ${ret_code}= Run cbuild ${input_file} ${empty} ${args}
# Should Be Equal ${ret_code} ${expect} msg=Unexpected status returned by cbuild2cmake execution

Append Additional Arguments
[Documentation] Append values to the list
[Arguments] ${list} @{values}
Expand Down

0 comments on commit 8e7882a

Please sign in to comment.