Merge pull request #2211 from Skgland/file-based-cli-tests
fix missing .pl file for singleton test case and move .pl files under `<testcase>.in/`
This commit is contained in:
@@ -1,3 +1,3 @@
|
|||||||
['tests/scryer/cli/issues/do_not_duplicate_path_components.pl'].
|
['throw_e.pl'].
|
||||||
['tests/scryer/cli/issues/do_not_duplicate_path_components.pl'].
|
['throw_e.pl'].
|
||||||
halt.
|
halt.
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
# issue 820
|
# issue 820
|
||||||
args = ["-f", "--no-add-history", "-g", "test,halt", "tests/scryer/cli/issues/goals.pl"]
|
args = ["-f", "--no-add-history", "-g", "test,halt", "goals.pl"]
|
||||||
|
|||||||
3
tests/scryer/cli/issues/goals_multiple_goals.in/goals.pl
Normal file
3
tests/scryer/cli/issues/goals_multiple_goals.in/goals.pl
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
test :- write(world), nl.
|
||||||
|
|
||||||
|
:- initialization(write(hello)).
|
||||||
@@ -1,2 +1,2 @@
|
|||||||
# issue 820
|
# issue 820
|
||||||
args = ["-f", "--no-add-history", "-g", "test", "-g", "halt", "tests/scryer/cli/issues/goals.pl"]
|
args = ["-f", "--no-add-history", "-g", "test", "-g", "halt", "goals.pl"]
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
# issue 841
|
# issue 841
|
||||||
args = ["-f", "--no-add-history", "tests/scryer/cli/issues/occurs_check_flag.pl"]
|
args = ["-f", "--no-add-history", "occurs_check_example.pl"]
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
# issue 839
|
# issue 839
|
||||||
args = ["-f", "--no-add-history", "tests/scryer/cli/issues/op3.pl", "-g", "halt"]
|
args = ["-f", "--no-add-history", "op3.pl", "-g", "halt"]
|
||||||
|
|||||||
@@ -0,0 +1,4 @@
|
|||||||
|
% hello
|
||||||
|
% line!
|
||||||
|
|
||||||
|
a :- b(X).
|
||||||
@@ -1,2 +1,2 @@
|
|||||||
['tests/scryer/cli/issues/issue812-singleton-warning.pl'].
|
['singleton_example.pl'].
|
||||||
halt.
|
halt.
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
Warning: singleton variables X at line 4 of issue812-singleton-warning.pl
|
Warning: singleton variables X at line 4 of singleton_example.pl
|
||||||
true.
|
true.
|
||||||
|
|||||||
Reference in New Issue
Block a user