示例#1
0
void build_tests(void){
	struct build_state * state = create_build_state();
	register_libc_objects(state);
	register_builtin_objects(state);
	register_data_structures_objects(state);
	register_compiler_objects(state);
	register_kernel_objects(state);

	construct_build_target(state, "emulators/java/OpCPU/KernelData.java");

	destroy_build_state(state);
}
示例#2
0
void build_tests(void){
	struct build_state * state = create_build_state();
	register_libc_objects(state);
	register_builtin_objects(state);
	register_compiler_objects(state);
	register_kernel_objects(state);
	new_register_data_structures_objects(state);
	new_generate_files(state);

	construct_entity(state, "emulators/python/op_cpu_package/python_l0_module.py");

	destroy_build_state(state);
}
示例#3
0
int main(void) {
    struct build_state * state = create_build_state();
    register_libc_objects(state);
    register_builtin_objects(state);
    register_data_structures_objects(state);
    register_compiler_objects(state);
    register_kernel_objects(state);
    register_test_objects(state);

    /* Tests */
    GETS_REPLACED_WITH_BUILD_TARGETS

    destroy_build_state(state);
    return 0;
}
示例#4
0
文件: build_tests.c 项目: UIKit0/recc
int main(void){
	struct build_state * state = create_build_state();
	register_libc_objects(state);
	register_builtin_objects(state);
	register_data_structures_objects(state);
	register_compiler_objects(state);
	register_filesystem_objects(state);
	register_kernel_objects(state);
	register_test_objects(state);

	/* Tests */
	construct_build_target(state, "test/c89/preprocessor_test.l0.js");
	construct_build_target(state, "test/c89/filesystem.l0.js");
	construct_build_target(state, "test/c89/basic-operations.l0.js");
	construct_build_target(state, "test/c89/basic-putchar-aa.l0.js");
	construct_build_target(state, "test/c89/div-zero.l0.js");
	construct_build_target(state, "test/c89/basic-putchar-a.l0.js");
	construct_build_target(state, "test/c89/basic-putchar-b.l0.js");
	construct_build_target(state, "test/c89/empty-main-return-zero.l0.js");
	construct_build_target(state, "test/c89/for-loop.l0.js");
	construct_build_target(state, "test/c89/ignore-local.l0.js");
	construct_build_target(state, "test/c89/many-types.l0.js");
	construct_build_target(state, "test/c89/nested-putchar-a.l0.js");
	construct_build_target(state, "test/c89/nested-putchar-a-param-ignored.l0.js");
	construct_build_target(state, "test/c89/nested-putchar-a-param-used.l0.js");
	construct_build_target(state, "test/c89/print.l0.js");
	construct_build_target(state, "test/c89/putchar-return.l0.js");
	construct_build_target(state, "test/c89/string-literal.l0.js");
	construct_build_target(state, "test/c89/use-array.l0.js");
	construct_build_target(state, "test/c89/use-local.l0.js");
	construct_build_target(state, "test/c89/use-reference.l0.js");
	construct_build_target(state, "test/c89/va_list_call.l0.js");
	construct_build_target(state, "test/c89/while-loop.l0.js");
	construct_build_target(state, "test/c89/typedef.l0.js");
	construct_build_target(state, "test/c89/exotic-declarators.l0.js");
	construct_build_target(state, "test/c89/constants.l0.js");
	construct_build_target(state, "test/c89/malloc-test.l0.js");
	construct_build_target(state, "test/c89/main_with_parameters.l0.js");

	construct_build_target(state, "test/c99/preprocessor_test.l0.js");

	destroy_build_state(state);
	return 0;
}