I'm working on a change for src/python/, and I would like to add unit tests to it, possibly with the Python unittest module.
I couldn't however find any examples of that being done, and I'm not sure how to proceed. The main underlying problem is that Python files in that directory rely on some extra SCons setup / C++ files, so the imports are not all in place. Has anyone ever done this kind of thing, or has an idea how to overcome the problem? _______________________________________________ gem5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/gem5-dev
