Skip to content

Commit f8a75c0

Browse files
committed
fixed test headers
1 parent 067955d commit f8a75c0

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

prolog/logicmoo_test.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
% ===================================================================
1212
*/
1313
:- if((prolog_load_context(source,File),prolog_load_context(file,File));current_prolog_flag(xref,true)).
14-
%:- module(logicmoo_test,[]).
14+
:- module(logicmoo_test,[]).
1515
:-endif.
1616

1717
:- define_into_module(

prolog/logicmoo_test_header.pl

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
% This file is mostly all inside if/endifs so it doesnt interfere with `module/2`
1+
:- if((prolog_load_context(source,File),prolog_load_context(file,File));current_prolog_flag(xref,true)).
2+
:- else.
3+
4+
test_completed% This file is mostly all inside if/endifs so it doesnt interfere with `module/2`
25
:- if((set_stream(current_output,tty(true)))). :- endif.
36

47
:- dumpST.
@@ -113,4 +116,4 @@
113116
:- if((prolog_load_context(source,F),echo_source_file_no_catchup(F))). :- endif.
114117
:- endif.
115118

116-
119+
:- endif.

prolog/shared_test_header.pl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
% This file is mostly all inside if/endifs so it doesnt interfere with `module/2`
2-
2+
:- if((prolog_load_context(source,File),prolog_load_context(file,File));current_prolog_flag(xref,true)).
3+
:- else.
34
:- if((
45
keep_going,
56
redefine_system_predicate(system:break/0),
67
abolish(system:break,0),
78
assert(system:break :- (dumpST, sleep(1))))).
89
:- endif.
10+
:- endif.

0 commit comments

Comments
 (0)