Skip to content

Commit

Permalink
[tests] Change the extension of NASM files
Browse files Browse the repository at this point in the history
As the assembly syntaxes are all assembler-specific, highlight
the type of assembler using an extension dedicated to NASM.

Signed-off-by: Mariusz Zaborski <[email protected]>
  • Loading branch information
oshogbo committed May 10, 2022
1 parent 4b18b55 commit 0df5109
Show file tree
Hide file tree
Showing 10 changed files with 4 additions and 4 deletions.
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions LibOS/shim/test/abi/x86_64/meson.build
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
common_lib = static_library('common_lib',
'common.c',
nasm_gen.process('exit.asm')
nasm_gen.process('exit.nasm')
)

tests = {
Expand All @@ -14,7 +14,7 @@ tests = {
'stack_auxiliary': {
'filenames': [
'stack_auxiliary.c',
nasm_gen.process('call_auxiliary.asm')
nasm_gen.process('call_auxiliary.nasm')
],
},
}
Expand All @@ -25,8 +25,8 @@ foreach name, params : tests
filenames = ''
if (params.has_key('filenames'))
filenames = params.get('filenames')
elif (params.get('type', 'asm') == 'asm')
filenames = nasm_gen.process('@0@.asm'.format(name))
elif (params.get('type', 'nasm') == 'nasm')
filenames = nasm_gen.process('@0@.nasm'.format(name))
else
filenames = '@[email protected]'.format(name)
endif
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 0df5109

Please sign in to comment.