Skip to content

Commit

Permalink
Merge pull request souffle-lang#1162 from mmcgr/windows
Browse files Browse the repository at this point in the history
Friendlier file naming
  • Loading branch information
Bernhard Scholz authored Nov 27, 2019
2 parents 18e918d + 44dcc5b commit 6eb678b
Show file tree
Hide file tree
Showing 12 changed files with 6 additions and 24 deletions.
1 change: 0 additions & 1 deletion tests/syntactic.at
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ POSITIVE_TEST([input_directive3],[syntactic])
POSITIVE_TEST([input_directive4],[syntactic])
POSITIVE_TEST([input_directive_quotes2],[syntactic])
POSITIVE_TEST([input_directive_quotes4],[syntactic])
POSITIVE_TEST([input_directive_quotes5],[syntactic])
POSITIVE_TEST([input_directive_quotes],[syntactic])
POSITIVE_TEST([liberal_identifiers],[syntactic])
POSITIVE_TEST([multiple_heads],[syntactic])
Expand Down
6 changes: 3 additions & 3 deletions tests/syntactic/cpp_keywords/cpp_keywords.dl
Original file line number Diff line number Diff line change
Expand Up @@ -214,9 +214,9 @@ error(1).
pragma(1).
.decl _Pragma(x:number)
_Pragma(1).
.decl worked?(x:number)
.output worked?()
worked?(X) :- workaround([X]).
.decl worked(x:number)
.output worked()
worked(X) :- workaround([X]).
// TODO (#467, #468): the following is a hack to disable stratification as over a hundred subprograms are produced for this test
.type number_record = [ x:number ]
.decl workaround(x:number_record)
Expand Down
File renamed without changes.
2 changes: 0 additions & 2 deletions tests/syntactic/input_directive_quotes5/B.csv

This file was deleted.

2 changes: 0 additions & 2 deletions tests/syntactic/input_directive_quotes5/facts/A"A.facts

This file was deleted.

13 changes: 0 additions & 13 deletions tests/syntactic/input_directive_quotes5/input_directive_quotes5.dl

This file was deleted.

Empty file.
Empty file.
6 changes: 3 additions & 3 deletions tests/syntactic/liberal_identifiers/liberal_identifiers.dl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

// : defines a directed graph
.decl _?(x:number, y:number)
.input _?()
.input _?(filename="input.facts")

// ? defines the transitive closure
.decl ?(x:number, y:number)
Expand All @@ -19,11 +19,11 @@
really_really_long_relation_string(A, B) :- ?(A, C), ?(A, D), ?(C, B), ?(D, B), !?(C,D), !?(D,C).

.decl a_1234_?another_one_(x:number, y:number)
.output a_1234_?another_one_()
.output a_1234_?another_one_(filename="a_1234_another_one_.csv")
a_1234_?another_one_(A,B) :- really_really_long_relation_string(A,C), really_really_long_relation_string(C,B).

.decl a_?_extended?_relation_name(x:number, y:number)
.output a_?_extended?_relation_name()
.output a_?_extended?_relation_name(filename="a__extended_relation_name.csv")
a_?_extended?_relation_name(A,B) :- really_really_long_relation_string(C,A), really_really_long_relation_string(C,B), A != B.
a_?_extended?_relation_name(A,B) :- really_really_long_relation_string(A, B), a_?_extended?_relation_name(A,C), a_?_extended?_relation_name(C,B).
a_?_extended?_relation_name(A,B) :- really_really_long_relation_string(A, B), a_?_extended?_relation_name(A,C), a_?_extended?_relation_name(B,C).

0 comments on commit 6eb678b

Please sign in to comment.