test debugging

This commit is contained in:
FelixBrendel
2020-02-10 15:38:13 +01:00
parent 04ea73b704
commit f34c111c2d
5 changed files with 29 additions and 16 deletions
+1 -4
View File
@@ -18,9 +18,6 @@ namespace Slime {
// - setting the parent environment
// - setting the arg_spec
// - potentially evaluating the arguments
if (arg_count == 0) {
return new_env;
}
// NOTE(Felix): Even though we will return the environment at the
// end, for defining symbols here for the parameters, it has to be
@@ -691,7 +688,7 @@ namespace Slime {
for (auto am : ams) {
printf("%d\n ", am);
}
pause();
// pause();
};
proc push_pc_on_cs = [&] {
+1 -1
View File
@@ -500,7 +500,7 @@ namespace Slime::Memory {
};
try load_built_ins_into_environment();
// try built_in_load(Memory::create_string("pre.slime"));
try built_in_load(Memory::create_string("pre.slime"));
return ret;
}
+13 -10
View File
@@ -620,17 +620,20 @@ namespace Slime {
// pop_environment();
printf("\n-- Test Files --\n");
invoke_test_script("evaluation_of_default_args");
invoke_test_script("alists");
invoke_test_script("case_and_cond");
invoke_test_script("lexical_scope");
// invoke_test_script("evaluation_of_default_args");
// invoke_test_script("case_and_cond");
// invoke_test_script("lexical_scope");
// invoke_test_script("singular_imports");
// invoke_test_script("hashmaps");
// invoke_test_script("import_and_load");
// invoke_test_script("macro_expand");
// invoke_test_script("sicp");
invoke_test_script("modules");
invoke_test_script("class_macro");
invoke_test_script("import_and_load");
invoke_test_script("macro_expand");
invoke_test_script("automata");
invoke_test_script("sicp");
invoke_test_script("hashmaps");
invoke_test_script("singular_imports");
// invoke_test_script("automata");
// invoke_test_script("alists");
return result;
}