Implement 'out' direction on allocator tests
authorIustin Pop <iustin@google.com>
Wed, 16 Apr 2008 13:56:37 +0000 (13:56 +0000)
committerIustin Pop <iustin@google.com>
Wed, 16 Apr 2008 13:56:37 +0000 (13:56 +0000)
commit298fe380f101684b9bf1148fa4f9c2d735aff262
tree079beb78e7f419dfafa232ca00455b7e82afc983
parentd61df03ef2d9353a2e146a454acda02b9a642bb6
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
configure.ac
doc/examples/dumb-allocator [new file with mode: 0755]
lib/Makefile.am
lib/cmdlib.py
lib/constants.py