Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
guide:makefile [2024/07/20 14:02]
rajit
guide:makefile [2024/07/22 08:50] (current)
rajit [Standard test cases]
Line 39: Line 39:
 ===== Changing compilers ===== ===== Changing compilers =====
  
-The variables ''CC'' and 'CXX'' can be changed to modify the default C and C++ compilers respectively.+The variables ''CC'' and ''CXX'' can be changed to modify the default C and C++ compilers respectively.
 So: So:
 <code> <code>
Line 54: Line 54:
  
  
 +===== Standard test cases =====
  
 +Standard test cases can be run using:
 +<code>
 +$ make runtest
 +</code>
 +
 +For this to work properly, create test cases for your tool in the following way:
 +   * All test cases and sample outputs are in the ''test/'' sub-directory.
 +   * Test cases are run by changing to the ''test/'' sub-directory and running the script ''run.sh''. If this script doesn't exist, then nothing happens.
 +Take a look at examples from existing ACT tools (e.g. ''[[https://github.com/asyncvlsi/actsim/tree/master/test|actsim]]'').