2009-09-21 00:19:33 +08:00
|
|
|
exports.testDir = node.path.dirname(__filename);
|
|
|
|
exports.fixturesDir = node.path.join(exports.testDir, "fixtures");
|
|
|
|
exports.libDir = node.path.join(exports.testDir, "../../lib");
|
|
|
|
|
|
|
|
node.libraryPaths.unshift(exports.libDir);
|
|
|
|
|
|
|
|
var mjsunit = require("/mjsunit.js");
|
2009-09-28 18:06:30 +08:00
|
|
|
include("/utils.js");
|
2009-09-21 00:19:33 +08:00
|
|
|
// Copy mjsunit namespace out
|
|
|
|
for (var prop in mjsunit) {
|
|
|
|
if (mjsunit.hasOwnProperty(prop)) exports[prop] = mjsunit[prop];
|
|
|
|
}
|
|
|
|
|
|
|
|
|