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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: Fedora at FamilleCollet dot com
New email:
PHP Version: OS:

 

 [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-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 06:01:28 2024 UTC