Closed bocchino closed 2 years ago
Steps:
compiler/scripts
to your PATH to pick up the fprime-gcc
script
b. Check out F Prime from nasa/fprime
c. Set the FPRIME
environment variable to point to the root of the F Prime repo (step 1.b)compiler/tools/fpp-to-cpp/test/enum
compiler/tools/fpp-to-xml/test/enum/*.fpp
to the directory created in step 1. Those are the source files for the tests..sh
from compiler/tools/fpp-to-cpp/test/constants
to .../test/enum
tests.sh
in .../test/enum
to record the new tests. The name of each test matches the corresponding source fpp file../update-ref
to regenerate the test output*.ref.txt
files to make sure that the test output looks rightcheck-cpp
to compile the generated enum C++ (the current version is specialized to compiling constant C++)check-cpp
runs without errors and compiles the generated C++Done in #129.
Test C++ code generation for enums.