From 7a96a9379bc0d2e79ed8b1dc031d28c1622db256 Mon Sep 17 00:00:00 2001 From: Eray Ozkural Date: Sat, 18 Feb 2017 21:20:07 +0300 Subject: [PATCH] * minor release, unit tests are passed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit paste unit test log —> tests.log --- pisi/__init__.py | 2 +- tests/tests.log | 350 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 351 insertions(+), 1 deletion(-) diff --git a/pisi/__init__.py b/pisi/__init__.py index 3c809bc..3c2e8c8 100644 --- a/pisi/__init__.py +++ b/pisi/__init__.py @@ -12,7 +12,7 @@ # PiSi version -__version__ = "1.1_beta18" +__version__ = "1.1.1" __dbversion__ = "1.1_beta8" __filesdbversion__ = "1.0.5" # yes, this is the real bottleneck diff --git a/tests/tests.log b/tests/tests.log index e69de29..c103144 100644 --- a/tests/tests.log +++ b/tests/tests.log @@ -0,0 +1,350 @@ +All unit tests are passed currently. + +$ tests/run.py +** Running all tests + +* Running tests in actionsapitests.py +testFileList (actionsapitests.ActionsAPITestCase) ... ok +testShelltoolsCanAccessDir (actionsapitests.ActionsAPITestCase) ... ok +testShelltoolsCanAccessFile (actionsapitests.ActionsAPITestCase) ... ok +testShelltoolsCopy (actionsapitests.ActionsAPITestCase) ... ok +testShelltoolsEcho (actionsapitests.ActionsAPITestCase) ... ok +testShelltoolsMakedirs (actionsapitests.ActionsAPITestCase) ... ok +testShelltoolsSystem (actionsapitests.ActionsAPITestCase) ... ok + +---------------------------------------------------------------------- +Ran 7 tests in 4.380s + +OK + +* Running tests in archivetests.py +testMakeZip (archivetests.ArchiveFileTestCase) ... check_file_hash 5b3417efd5f537434b568114bcda853b4975d851 5b3417efd5f537434b568114bcda853b4975d851 +check_file_hash 5b3417efd5f537434b568114bcda853b4975d851 5b3417efd5f537434b568114bcda853b4975d851 +ok +testUnpackTar (archivetests.ArchiveFileTestCase) ... check_file_hash 66f3c77b87a160951b180447f4a6dce68ad2f71b 66f3c77b87a160951b180447f4a6dce68ad2f71b +check_file_hash 66f3c77b87a160951b180447f4a6dce68ad2f71b 66f3c77b87a160951b180447f4a6dce68ad2f71b +ok +testUnpackZip (archivetests.ArchiveFileTestCase) ... check_file_hash 5b3417efd5f537434b568114bcda853b4975d851 5b3417efd5f537434b568114bcda853b4975d851 +check_file_hash 5b3417efd5f537434b568114bcda853b4975d851 5b3417efd5f537434b568114bcda853b4975d851 +ok +testUnpackZipCond (archivetests.ArchiveFileTestCase) ... ok + +---------------------------------------------------------------------- +Ran 4 tests in 1.963s + +OK + +* Running tests in autoxmltests.py +testDeclaration (autoxmltests.AutoXmlTestCase) ... ok +testReadWrite (autoxmltests.AutoXmlTestCase) ... ok +testWriteRead (autoxmltests.AutoXmlTestCase) ... ok +testStr (autoxmltests.LocalTextTestCase) ... ok + +---------------------------------------------------------------------- +Ran 4 tests in 0.009s + +OK + +* Running tests in buildtests.py +testBasicBuild (buildtests.BuildTestCase) ... Building PISI source package: a +Compiling action script +Safety switch: the component system.devel cannot be found +Fetching source from: https://github.com/examachine/pisi/raw/master/tests/buildtests/merhaba-pisi-1.0.tar.bz2 +check_file_hash d140159f1a3d0439e5e597a147479fb185e67c53 d140159f1a3d0439e5e597a147479fb185e67c53 +merhaba-pisi-1.0.tar.bz2 [cached] +Source archive is stored: /Volumes/Centauri/Users/malfunct/Code/projects/pisi/tmp/var/cache/pisi/archives/merhaba-pisi-1.0.tar.bz2 +Unpacking archive...check_file_hash d140159f1a3d0439e5e597a147479fb185e67c53 d140159f1a3d0439e5e597a147479fb185e67c53 + unpacked (/Volumes/Centauri/Users/malfunct/Code/projects/pisi/tmp/var/tmp/pisi/a-1.0-1/work) +Setting up source... +setup +Building source... +build +Installing... +install +actions.py: WorkDir = merhaba-pisi-1.0 +Password: +Stripping files.. +** Building package a +Generating files.xml, +Generating metadata.xml, +Creating PISI package tmp/a-1.0-1-1.pisi. +Done. +Keeping Build Directory +ok +testBuildNumber (buildtests.BuildTestCase) ... Building PISI source package: a +Compiling action script +Safety switch: the component system.devel cannot be found +Fetching source from: https://github.com/examachine/pisi/raw/master/tests/buildtests/merhaba-pisi-1.0.tar.bz2 +check_file_hash d140159f1a3d0439e5e597a147479fb185e67c53 d140159f1a3d0439e5e597a147479fb185e67c53 +merhaba-pisi-1.0.tar.bz2 [cached] +Source archive is stored: /Volumes/Centauri/Users/malfunct/Code/projects/pisi/tmp/var/cache/pisi/archives/merhaba-pisi-1.0.tar.bz2 +Unpacking archive...check_file_hash d140159f1a3d0439e5e597a147479fb185e67c53 d140159f1a3d0439e5e597a147479fb185e67c53 + unpacked (/Volumes/Centauri/Users/malfunct/Code/projects/pisi/tmp/var/tmp/pisi/a-1.0-1/work) +Setting up source... +setup +Building source... +build +Installing... +install +actions.py: WorkDir = merhaba-pisi-1.0 +Stripping files.. +** Building package a +Generating files.xml, +Generating metadata.xml, +Creating PISI package tmp/a-1.0-1-1.pisi. +Done. +Keeping Build Directory +Building PISI source package: a +Compiling action script +Safety switch: the component system.devel cannot be found +Fetching source from: https://github.com/examachine/pisi/raw/master/tests/buildtests/merhaba-pisi-1.0.tar.bz2 +check_file_hash d140159f1a3d0439e5e597a147479fb185e67c53 d140159f1a3d0439e5e597a147479fb185e67c53 +merhaba-pisi-1.0.tar.bz2 [cached] +Source archive is stored: /Volumes/Centauri/Users/malfunct/Code/projects/pisi/tmp/var/cache/pisi/archives/merhaba-pisi-1.0.tar.bz2 +Unpacking archive...check_file_hash d140159f1a3d0439e5e597a147479fb185e67c53 d140159f1a3d0439e5e597a147479fb185e67c53 + unpacked (/Volumes/Centauri/Users/malfunct/Code/projects/pisi/tmp/var/tmp/pisi/a-1.0-1/work) +Setting up source... +setup +Building source... +build +Installing... +install +Stripping files.. +** Building package a +Generating files.xml, +(found old version tmp/a-1.0-1-1.pisi) +There are changes, incrementing build no to 2 +Generating metadata.xml, +Creating PISI package tmp/a-1.0-1-2.pisi. +Done. +Keeping Build Directory +Building PISI source package: a +Compiling action script +Safety switch: the component system.devel cannot be found +Fetching source from: https://github.com/examachine/pisi/raw/master/tests/buildtests/merhaba-pisi-1.0.tar.bz2 +check_file_hash d140159f1a3d0439e5e597a147479fb185e67c53 d140159f1a3d0439e5e597a147479fb185e67c53 +merhaba-pisi-1.0.tar.bz2 [cached] +Source archive is stored: /Volumes/Centauri/Users/malfunct/Code/projects/pisi/tmp/var/cache/pisi/archives/merhaba-pisi-1.0.tar.bz2 +Unpacking archive...check_file_hash d140159f1a3d0439e5e597a147479fb185e67c53 d140159f1a3d0439e5e597a147479fb185e67c53 + unpacked (/Volumes/Centauri/Users/malfunct/Code/projects/pisi/tmp/var/tmp/pisi/a-1.0-1/work) +Setting up source... +setup +Building source... +build +Installing... +install +Stripping files.. +** Building package a +Generating files.xml, +(found old version tmp/a-1.0-1-1.pisi) +(found old version tmp/a-1.0-1-2.pisi) +There is no change from previous build 2 +Generating metadata.xml, +Creating PISI package tmp/a-1.0-1-2.pisi. +Done. +Keeping Build Directory +ok + +---------------------------------------------------------------------- +Ran 2 tests in 4.257s + +OK + +* Running tests in configfiletests.py +testAccessMethods (configfiletests.ConfigFileTestCase) ... ok +testFlagsExists (configfiletests.ConfigFileTestCase) ... ok +testSections (configfiletests.ConfigFileTestCase) ... ok +testValues (configfiletests.ConfigFileTestCase) ... ok + +---------------------------------------------------------------------- +Ran 4 tests in 0.001s + +OK + +* Running tests in conflicttests.py +testConflictWithEachOther (conflicttests.ConflictTestCase) ... ok +testConflictWithEachOtherAndInstalled (conflicttests.ConflictTestCase) ... ok +testConflictWithInstalled (conflicttests.ConflictTestCase) ... ok + +---------------------------------------------------------------------- +Ran 3 tests in 4.074s + +OK + +* Running tests in constantstests.py +testConstValues (constantstests.ContextTestCase) ... ok +testConstness (constantstests.ContextTestCase) ... ok + +---------------------------------------------------------------------- +Ran 2 tests in 0.000s + +OK + +* Running tests in dependencytests.py +testReleaseFrom (dependencytests.DependencyTestCase) ... ok +testReleaseIs (dependencytests.DependencyTestCase) ... ok +testReleaseTo (dependencytests.DependencyTestCase) ... ok +testVersionFrom (dependencytests.DependencyTestCase) ... ok + +---------------------------------------------------------------------- +Ran 4 tests in 0.001s + +OK + +* Running tests in fetchertests.py +testFetch (fetchertests.FetcherTestCase) ... ok +testResume (fetchertests.FetcherTestCase) ... ok + +---------------------------------------------------------------------- +Ran 2 tests in 2.341s + +OK + +* Running tests in filestests.py +testFileInfo (filestests.FilesTestCase) ... ok + +---------------------------------------------------------------------- +Ran 1 test in 0.001s + +OK + +* Running tests in filetests.py +testLocalFile (filetests.FileTestCase) ... ok +wiki (0.0 B) 0% 0.00 B/s [??:??:??]ok + +---------------------------------------------------------------------- +Ran 2 tests in 0.787s + +OK + +* Running tests in graphtests.py +testCycle (graphtests.GraphTestCase) ... ok +testTopologicalSort (graphtests.GraphTestCase) ... ok + +---------------------------------------------------------------------- +Ran 2 tests in 0.000s + +OK + +* Running tests in installdbtests.py +testInstall (installdbtests.InstallDBTestCase) ... ok +testRemoveDummy (installdbtests.InstallDBTestCase) ... ok +testRemovePurge (installdbtests.InstallDBTestCase) ... ok + +---------------------------------------------------------------------- +Ran 3 tests in 1.869s + +OK + +* Running tests in metadatatests.py +testRead (metadatatests.MetaDataTestCase) ... ok +testVerify (metadatatests.MetaDataTestCase) ... ok +testWrite (metadatatests.MetaDataTestCase) ... ok + +---------------------------------------------------------------------- +Ran 3 tests in 0.005s + +OK + +* Running tests in ootests.py +testautosuper (ootests.OOTestCase) ... ok + +---------------------------------------------------------------------- +Ran 1 test in 0.000s + +OK + +* Running tests in packagedbtests.py +testAdd (packagedbtests.PackageDBTestCase) ... ok +testRemove (packagedbtests.PackageDBTestCase) ... ok + +---------------------------------------------------------------------- +Ran 2 tests in 3.253s + +OK + +* Running tests in packagetests.py +testAddExtract (packagetests.PackageTestCase) ... ok + +---------------------------------------------------------------------- +Ran 1 test in 0.399s + +OK + +* Running tests in repodbtests.py +testAddRemoveCycle (repodbtests.RepoDBTestCase) ... +Test 0 + +Repo foo added to system. +Repo foo removed from system. + +Test 1 + +Repo foo added to system. +Repo foo removed from system. +ok + +---------------------------------------------------------------------- +Ran 1 test in 1.314s + +OK + +* Running tests in searchtests.py +testSearch (searchtests.SearchTestCase) ... ok + +---------------------------------------------------------------------- +Ran 1 test in 0.868s + +OK + +* Running tests in sourcedbtests.py +testAddRemove (sourcedbtests.SourceDBTestCase) ... ok + +---------------------------------------------------------------------- +Ran 1 test in 1.638s + +OK + +* Running tests in specfiletests.py +testCopy (specfiletests.SpecFileNewTestCase) ... ok +testFields (specfiletests.SpecFileNewTestCase) ... ok +testIsAPartOf (specfiletests.SpecFileNewTestCase) ... ok +testVerify (specfiletests.SpecFileNewTestCase) ... ok + +---------------------------------------------------------------------- +Ran 4 tests in 0.013s + +OK + +* Running tests in utiltests.py +testCleanArTimestamp (utiltests.UtilTestCase) ... ok +testDirSize (utiltests.UtilTestCase) ... ok +testGetFileHashes (utiltests.UtilTestCase) ... ok +testRemovePathPrefix (utiltests.UtilTestCase) ... ok +testSubPath (utiltests.UtilTestCase) ... ok + +---------------------------------------------------------------------- +Ran 5 tests in 0.013s + +OK + +* Running tests in versiontests.py +testGeBug (versiontests.VersionTestCase) ... ok +testOpsCharacters (versiontests.VersionTestCase) ... ok +testOpsKeywords (versiontests.VersionTestCase) ... ok +testOpsNumerical (versiontests.VersionTestCase) ... ok +testSingle (versiontests.VersionTestCase) ... ok + +---------------------------------------------------------------------- +Ran 5 tests in 0.001s + +OK + +* Running tests in xmlexttests.py +testAdd (xmlexttests.XmlExtTestCase) ... ok +testGet (xmlexttests.XmlExtTestCase) ... ok + +---------------------------------------------------------------------- +Ran 2 tests in 0.001s + +OK