forked from haskell/cabal
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add noncyclical tests that hop over folders
- Allow for bad behaviour of master branch - Add cyclical checks with same file names and hops - Add cyclical import tests with 1 and 2 hops in cycle - Expected output has project with full project path - Add newlines at EOF
- Loading branch information
1 parent
381245d
commit 78fcdc6
Showing
32 changed files
with
146 additions
and
2 deletions.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
cabal-testsuite/PackageTests/ConditionalAndImport/cabal-cyclical-1-hop.project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
packages: . | ||
|
||
import: cabal-cyclical-1-hop.config |
1 change: 1 addition & 0 deletions
1
cabal-testsuite/PackageTests/ConditionalAndImport/cabal-cyclical-2-hop-1.config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
import: cabal-cyclical-2-hop-2.config |
1 change: 1 addition & 0 deletions
1
cabal-testsuite/PackageTests/ConditionalAndImport/cabal-cyclical-2-hop-2.config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
import: cabal-cyclical-2-hop.project |
3 changes: 3 additions & 0 deletions
3
cabal-testsuite/PackageTests/ConditionalAndImport/cabal-cyclical-2-hop.project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
packages: . | ||
|
||
import: cabal-cyclical-2-hop-1.config |
1 change: 1 addition & 0 deletions
1
cabal-testsuite/PackageTests/ConditionalAndImport/cabal-cylical-1-hop.config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
import: cabal-cyclical-1-hop.project |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
cabal-testsuite/PackageTests/ConditionalAndImport/cyclical-same-filename-out-out-back.config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
import: same-filename/cyclical-same-filename-out-out-back.config |
3 changes: 3 additions & 0 deletions
3
...l-testsuite/PackageTests/ConditionalAndImport/cyclical-same-filename-out-out-back.project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
packages: . | ||
|
||
import: cyclical-same-filename-out-out-back.config |
1 change: 1 addition & 0 deletions
1
...estsuite/PackageTests/ConditionalAndImport/cyclical-same-filename-out-out-backback.config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
import: same-filename/cyclical-same-filename-out-out-backback.config |
3 changes: 3 additions & 0 deletions
3
...stsuite/PackageTests/ConditionalAndImport/cyclical-same-filename-out-out-backback.project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
packages: . | ||
|
||
import: cyclical-same-filename-out-out-backback.config |
1 change: 1 addition & 0 deletions
1
cabal-testsuite/PackageTests/ConditionalAndImport/cyclical-same-filename-out-out-self.config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
import: same-filename/cyclical-same-filename-out-out-self.config |
3 changes: 3 additions & 0 deletions
3
...l-testsuite/PackageTests/ConditionalAndImport/cyclical-same-filename-out-out-self.project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
packages: . | ||
|
||
import: cyclical-same-filename-out-out-self.config |
3 changes: 3 additions & 0 deletions
3
cabal-testsuite/PackageTests/ConditionalAndImport/hops-0.project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
packages: . | ||
|
||
import: hops/hops-1.config |
1 change: 1 addition & 0 deletions
1
cabal-testsuite/PackageTests/ConditionalAndImport/hops-2.config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
import: hops/hops-3.config |
1 change: 1 addition & 0 deletions
1
cabal-testsuite/PackageTests/ConditionalAndImport/hops-4.config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
import: hops/hops-5.config |
1 change: 1 addition & 0 deletions
1
cabal-testsuite/PackageTests/ConditionalAndImport/hops-6.config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
import: hops/hops-7.config |
1 change: 1 addition & 0 deletions
1
cabal-testsuite/PackageTests/ConditionalAndImport/hops-8.config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
import: hops/hops-9.config |
1 change: 1 addition & 0 deletions
1
cabal-testsuite/PackageTests/ConditionalAndImport/hops/hops-1.config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
import: ../hops-2.config |
1 change: 1 addition & 0 deletions
1
cabal-testsuite/PackageTests/ConditionalAndImport/hops/hops-3.config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
import: ../hops-4.config |
1 change: 1 addition & 0 deletions
1
cabal-testsuite/PackageTests/ConditionalAndImport/hops/hops-5.config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
import: ../hops-6.config |
1 change: 1 addition & 0 deletions
1
cabal-testsuite/PackageTests/ConditionalAndImport/hops/hops-7.config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
import: ../hops-8.config |
1 change: 1 addition & 0 deletions
1
cabal-testsuite/PackageTests/ConditionalAndImport/hops/hops-9.config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
-- No imports here |
1 change: 1 addition & 0 deletions
1
cabal-testsuite/PackageTests/ConditionalAndImport/noncyclical-same-filename-a.config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
import: same-filename/noncyclical-same-filename-a.config |
3 changes: 3 additions & 0 deletions
3
cabal-testsuite/PackageTests/ConditionalAndImport/noncyclical-same-filename-a.project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
packages: . | ||
|
||
import: noncyclical-same-filename-a.config |
1 change: 1 addition & 0 deletions
1
cabal-testsuite/PackageTests/ConditionalAndImport/noncyclical-same-filename-b.config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
-- No imports here |
3 changes: 3 additions & 0 deletions
3
cabal-testsuite/PackageTests/ConditionalAndImport/noncyclical-same-filename-b.project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
packages: . | ||
|
||
import: same-filename/noncyclical-same-filename-b.config |
1 change: 1 addition & 0 deletions
1
...ackageTests/ConditionalAndImport/same-filename/cyclical-same-filename-out-out-back.config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
import: ../cyclical-same-filename-out-out-back.config |
1 change: 1 addition & 0 deletions
1
...geTests/ConditionalAndImport/same-filename/cyclical-same-filename-out-out-backback.config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
import: ../cyclical-same-filename-out-out-backback.project |
1 change: 1 addition & 0 deletions
1
...ackageTests/ConditionalAndImport/same-filename/cyclical-same-filename-out-out-self.config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
import: cyclical-same-filename-out-out-self.config |
1 change: 1 addition & 0 deletions
1
...tsuite/PackageTests/ConditionalAndImport/same-filename/noncyclical-same-filename-a.config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
-- No imports here |
1 change: 1 addition & 0 deletions
1
...tsuite/PackageTests/ConditionalAndImport/same-filename/noncyclical-same-filename-b.config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
import: ../noncylical-same-filename-b.config |