Commit 5b836e05 authored by Mikhail Glushenkov's avatar Mikhail Glushenkov
Browse files

Rename 'Test.D.Version' to 'UnitTest.D.Version'.

parent a4062f92
......@@ -143,9 +143,6 @@ extra-source-files:
tests/PackageTests/UniqueIPID/P2/my.cabal
tests/PackageTests/multInst/my.cabal
tests/Setup.hs
tests/Test/Distribution/Version.hs
tests/Test/Laws.hs
tests/Test/QuickCheck/Utils.hs
tests/hackage/check.sh
tests/hackage/download.sh
tests/hackage/unpack.sh
......@@ -300,6 +297,9 @@ test-suite unit-tests
UnitTests.Distribution.Simple.Program.Internal
UnitTests.Distribution.Utils.NubList
UnitTests.Distribution.System
UnitTests.Distribution.Version
Test.Laws
Test.QuickCheck.Utils
main-is: UnitTests.hs
build-depends:
base,
......@@ -322,9 +322,6 @@ test-suite package-tests
PackageTests.DeterministicAr.Check
PackageTests.TestSuiteTests.ExeV10.Check
PackageTests.PackageTester
Test.Distribution.Version
Test.Laws
Test.QuickCheck.Utils
hs-source-dirs: tests
build-depends:
base,
......
......@@ -10,7 +10,7 @@ set -ex
find tests -type f \( -name '*.hs' -or -name '*.lhs' -or -name '*.c' -or -name '*.sh' \
-or -name '*.cabal' -or -name '*.hsc' -or -name '*.err' -or -name '*.out' \) -and -not -regex ".*/dist/.*" \
| awk '/Check.hs$|UnitTests|PackageTester|autogen|PackageTests.hs|IntegrationTests.hs|CreatePipe/ { next } { print }' \
| awk '/Check.hs$|UnitTests|PackageTester|autogen|PackageTests.hs|IntegrationTests.hs|CreatePipe|^tests\/Test/ { next } { print }' \
| LC_ALL=C sort \
| sed -e 's/^/ /' \
> source-file-list
......
......@@ -9,7 +9,7 @@ import qualified UnitTests.Distribution.Compat.ReadP
import qualified UnitTests.Distribution.Simple.Program.Internal
import qualified UnitTests.Distribution.Utils.NubList
import qualified UnitTests.Distribution.System
import qualified Test.Distribution.Version (versionTests, parseTests)
import qualified UnitTests.Distribution.Version (versionTests, parseTests)
tests :: TestTree
tests = testGroup "Unit Tests" $
......@@ -23,8 +23,8 @@ tests = testGroup "Unit Tests" $
UnitTests.Distribution.Utils.NubList.tests
, testGroup "Distribution.System"
UnitTests.Distribution.System.tests
, Test.Distribution.Version.versionTests
, Test.Distribution.Version.parseTests
, UnitTests.Distribution.Version.versionTests
, UnitTests.Distribution.Version.parseTests
]
main :: IO ()
......
......@@ -2,7 +2,7 @@
-fno-warn-incomplete-patterns
-fno-warn-deprecations
-fno-warn-unused-binds #-} --FIXME
module Test.Distribution.Version (versionTests, parseTests) where
module UnitTests.Distribution.Version (versionTests, parseTests) where
import Distribution.Version
import Distribution.Text
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment