Skip to content

Commit

Permalink
* minor release, unit tests are passed
Browse files Browse the repository at this point in the history
paste unit test log —> tests.log
  • Loading branch information
examachine committed Feb 18, 2017
1 parent 9a6a3f7 commit 7a96a93
Show file tree
Hide file tree
Showing 2 changed files with 351 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pisi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
350 changes: 350 additions & 0 deletions tests/tests.log
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 7a96a93

Please sign in to comment.