php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59648 This RRD was created on another architecture
Submitted: 2011-03-05 04:01 UTC Modified: 2011-03-21 13:18 UTC
From: Fedora at FamilleCollet dot com Assigned: koubel (profile)
Status: Closed Package: rrd (PECL)
PHP Version: 5.3.5 OS: GNU/Linux (Fedora 14)
Private report: No CVE-ID: None
 [2011-03-05 04:01 UTC] Fedora at FamilleCollet dot com
Description:
------------
Data files provided in tests/testData are architecture dependent.

This means that most test fails using the provided data.

My thought is that you should not provide this data, but only a script to generate then before running test.

With "provided" data, most tests fail (f14, x86_64, rrdtool-1.4.4) with:
Fatal error: Uncaught exception 'Exception' with message 'This RRD was created on another architecture' in ...

With "freshly" generated data (following instructions in readme.txt), most tests succeed.



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-03-06 04:20 UTC] fedora at famillecollet dot com
File proposal (tests/testData/Makefile)
http://remi.fedorapeople.org/rrd-test-makefile

to run test with "fresh" data, just need to run

make -C tests/testData clean
make -C tests/testData all
make test NO_INTERACTION=1
 [2011-03-21 13:18 UTC] koubel at seznam dot cz
testData -> data
data/Makefile added
some tests modified
autoconf options for rrdtool binary added so maybe Makefile.in will be used in the future
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Mon Apr 22 19:01:26 2019 UTC