diff options
| author | Dylan Baker <dylan@pnwbakers.com> | 2025-11-04 09:06:32 -0800 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2025-11-05 08:29:35 -0800 |
| commit | ae69805df18dcd73865b68ef4337b6a17dd25e15 (patch) | |
| tree | d0bf6e36d8568d330038469f38d762c76145c086 /test cases | |
| parent | 89b421fdecfd14e4a1435aeab29b392c968d6875 (diff) | |
| download | meson-ae69805df18dcd73865b68ef4337b6a17dd25e15.tar.gz | |
tests: Add a basic test for the codegen implementation code
This just tests that it works, so it catches the previous bug. Not sure
how to test this more thoroughly.
Diffstat (limited to 'test cases')
| -rw-r--r-- | test cases/frameworks/8 flex/meson.build | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test cases/frameworks/8 flex/meson.build b/test cases/frameworks/8 flex/meson.build index 32eb89de9..0b1107010 100644 --- a/test cases/frameworks/8 flex/meson.build +++ b/test cases/frameworks/8 flex/meson.build @@ -1,7 +1,7 @@ # SPDX-License-Identifier: Apache-2.0 # Copyright © 2024-2025 Intel Corporation -project('flex and bison', 'c') +project('flex and bison', 'c', meson_version : '>= 1.10.0') # The point of this test is that one generator # may output headers that are necessary to build @@ -22,9 +22,11 @@ endif codegen = import('unstable-codegen') lex = codegen.lex(implementations : ['flex', 'reflex', 'lex']) +message('lex implementation:', lex.implementation()) lfiles = lex.generate('lexer.l') yacc = codegen.yacc(implementations : ['byacc', 'bison', 'yacc']) +message('yacc implementation:', yacc.implementation()) pfiles = yacc.generate('parser.y', header : '@BASENAME@.tab.h') e = executable( |
