Adding esp32-sim test.
This commit is contained in:
@ -60,6 +60,10 @@ ESP32_FILES += [
|
||||
' '.join(['$dst/esp32-sim/Esp32forth-sim', '$src/tools/memuse.py']),
|
||||
'echo internals size-all bye | $dst/esp32-sim/Esp32forth-sim | '
|
||||
'$src/tools/memuse.py >$dst/esp32-sim/sizes.txt'),
|
||||
ForthTest('$dst/tests/esp32_sim_all_tests.out',
|
||||
'$dst/esp32-sim/Esp32forth-sim', '$src/esp32/esp32_all_tests.fs',
|
||||
interp=('echo "include $src/esp32/esp32_all_tests.fs \\n1 terminate" | '
|
||||
'$dst/esp32-sim/Esp32forth-sim')),
|
||||
]
|
||||
Compile('$dst/gen/print-esp32-builtins', '$src/esp32/print-builtins.cpp'),
|
||||
Run('$dst/gen/esp32_sim_opcodes.h', '$dst/gen/print-esp32-builtins')
|
||||
|
||||
16
esp32/esp32_all_tests.fs
Normal file
16
esp32/esp32_all_tests.fs
Normal file
@ -0,0 +1,16 @@
|
||||
\ Copyright 2024 Bradley D. Nelson
|
||||
\
|
||||
\ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
\ you may not use this file except in compliance with the License.
|
||||
\ You may obtain a copy of the License at
|
||||
\
|
||||
\ http://www.apache.org/licenses/LICENSE-2.0
|
||||
\
|
||||
\ Unless required by applicable law or agreed to in writing, software
|
||||
\ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
\ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
\ See the License for the specific language governing permissions and
|
||||
\ limitations under the License.
|
||||
|
||||
needs ../common/ansi.fs
|
||||
needs ../common/all_tests.fs
|
||||
Reference in New Issue
Block a user