Implement 'out' direction on allocator tests
This patch adds the paths for searching for instance allocators and makes the LUTestAllocator code run the allocator and return the results if the direction specified is 'out'. 'out' means that the opcode will return the result of the allocator run, instead of the allocator input file ('in'). The patch unifies all names to refer to 'iallocator' instead of plain allocator. The patch also adds an example allocator that can be used for testing this new functionality. Reviewed-by: ultrotter
Showing
- configure.ac 11 additions, 0 deletionsconfigure.ac
- doc/examples/dumb-allocator 100 additions, 0 deletionsdoc/examples/dumb-allocator
- lib/Makefile.am 1 addition, 0 deletionslib/Makefile.am
- lib/cmdlib.py 50 additions, 15 deletionslib/cmdlib.py
- lib/constants.py 5 additions, 4 deletionslib/constants.py
Loading
Please register or sign in to comment