⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 howto-add-exec-test.txt

📁 这个程序是关于OpenC++的反射植入机制的编译器
💻 TXT
字号:
How to add a new test to testsuite/exec---------------------------------------(1) Choose short name for test (TNAME),     (e.g. `before' was used for test made up of one of the samples)    make sure it does not clash with any other test in test suite(2) Prepare the source file `TNAME-class.mc' with metacompiler description.(3) Prepare the file `TNAME-test.cc' with the source you want to feed    to the generated compiler(4) Prepare the text file `TNAME-test.gold' with expected output    of the executable generated from `TNAME-test.cc' with compiler    obtained from `TNAME-class.mc'. NOTE: Only stdout output is taken     into consideration.(5) Add the 3 files to EXTRA_DIST in `../Makefile.am'(6) Change to the top dir and run `./bootstrap' to rebuild `Makefile.in'

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -