Skip to content

Commit

Permalink
Updated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
soumeh01 committed Aug 1, 2024
1 parent d2c0d11 commit ad3e0ba
Show file tree
Hide file tree
Showing 35 changed files with 61 additions and 2,293 deletions.
4 changes: 4 additions & 0 deletions test/data/build-asm/project/AC6/AsmArm.s
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,8 @@
INFO 1, "STRING_TEST failed!"
ENDIF

IF :LNOT::DEF:GROUP_ASM_AC6_DEF
INFO 1, "GROUP_ASM_AC6_DEF is not defined!"
ENDIF

END
4 changes: 4 additions & 0 deletions test/data/build-asm/project/AC6/Auto.s
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,9 @@
INFO 1, "AUTO_DEF is not defined!"
ENDIF

IF :LNOT::DEF:GROUP_ASM_AC6_DEF
INFO 1, "GROUP_ASM_AC6_DEF is not defined!"
ENDIF

END

4 changes: 4 additions & 0 deletions test/data/build-asm/project/AC6/GnuSyntax.s
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,9 @@
.error "GAS_DEF is not defined!"
.endif

.ifndef GROUP_ASM_AC6_DEF
.error "GROUP_ASM_AC6_DEF is not defined!"
.endif

.end

4 changes: 4 additions & 0 deletions test/data/build-asm/project/AC6/PreProcessed.S
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@
.error "PRE_PROCESSED_DEF is not defined!"
#endif

#ifndef GROUP_ASM_AC6_DEF
.error "GROUP_ASM_AC6_DEF is not defined!"
#endif

.end
4 changes: 4 additions & 0 deletions test/data/build-asm/project/GCC/GAS.s
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@
.error "GAS_DEF is not defined!"
.endif

.ifndef GROUP_ASM_GCC_CLANG_DEF
.error "GROUP_ASM_GCC_CLANG_DEF is not defined!"
.endif

.end
4 changes: 4 additions & 0 deletions test/data/build-asm/project/GCC/PreProcessed.S
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@
.error "PRE_PROCESSED_DEF is not defined!"
#endif

#ifndef GROUP_ASM_GCC_CLANG_DEF
.error "GROUP_ASM_GCC_CLANG_DEF is not defined!"
#endif

.end
4 changes: 4 additions & 0 deletions test/data/build-asm/project/IAR/Asm.s
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

#ifndef IAR_ASM_DEF
#error "IAR_ASM_DEF is not defined!"
#endif

#ifndef GROUP_ASM_IAR_DEF
#error "GROUP_ASM_IAR_DEF is not defined!"
#endif

EXTERN Reset_Handler_C
Expand Down
6 changes: 6 additions & 0 deletions test/data/build-asm/project/project.cproject.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ project:

- group: GCC-CLANG
for-compiler: [GCC, CLANG]
define-asm:
- GROUP_ASM_GCC_CLANG_DEF
files:
- file: ./GCC/GAS.s
for-compiler: GCC
Expand All @@ -26,6 +28,8 @@ project:

- group: AC6
for-compiler: AC6
define-asm:
- GROUP_ASM_AC6_DEF
files:
- file: ./AC6/AsmArm.s
define:
Expand All @@ -47,6 +51,8 @@ project:

- group: IAR
for-compiler: IAR
define-asm:
- GROUP_ASM_IAR_DEF
files:
- file: ./IAR/Asm.s
define:
Expand Down
2 changes: 1 addition & 1 deletion test/data/build-asm/solution.csolution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ solution:

- type: GCC
compiler: GCC

# - type: IAR
# compiler: IAR

Expand Down
4 changes: 2 additions & 2 deletions test/data/build-c/solution.csolution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ solution:
packs:
- pack: ARM::Cortex_DFP
- pack: ARM::CMSIS

target-types:
- type: ARMCM0
device: ARMCM0
Expand All @@ -19,7 +19,7 @@ solution:
- Library:
- -lm
- -lc

# - type: IAR
# compiler: IAR

Expand Down
2 changes: 1 addition & 1 deletion test/data/build-cpp/solution.csolution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ solution:

- type: GCC
compiler: GCC

# - type: IAR
# compiler: IAR

Expand Down
Empty file.
181 changes: 0 additions & 181 deletions test/data/include-define/project/project.AC6+ARMCM0.cbuild.yml

This file was deleted.

Loading

0 comments on commit ad3e0ba

Please sign in to comment.