Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

Unit testing
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Unit testing
3rd Feb, 2015, 06:27 AM
Post: #1
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
Question Unit testing
Introduction
In order to release new packages we need to know if it's stable. However, when do we know when things are stable? Every user has their own preferences and test setup so we can't test everything ourselves. What we can do, is create a unit tests for each major package. If a new version passes, we can consider it stable (enough).

Let's first gather ideas on what to test. Then i'll create a new repository with code / media we can use for testing. Obvious stuff like a kernel that doesn't even boot or XBMC that doesn't start are of course excluded from these specific tests.

Kernels
- GPIO Reading / Writing / Interrupts
- Serial connection
- BTRFS support

XBMC / Kodi
- Sound: USB DAC
- Interface: XBian-config
- Video Codecs: xvid, mpeg2, vc1, vp7, vp8, divx, h264
- Audo Codecs: flac
- Plugins: YouTube

xbian-config
- xbian-copy (to image)
- btrfs-auto-snapshot creation / rollback

It would be great if someone could create 30s samples of Big Buck Bunny with these video codecs

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
4th Feb, 2015, 02:54 AM
Post: #2
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: Unit testing
I think we need to fix a particular starting point.

Looking at http://bbb3d.renderfarming.net/download.html

There are many options.

Standard 2D is obvious.

720HD would seem the best solution but alas "File not found"

So Full HD @ 60FPS would seem a safe bet?

That file is MP4 so I can transcode to MP2 via Handbrake if required.

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
4th Feb, 2015, 02:58 AM
Post: #3
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
RE: Unit testing
If you can do that and make 30s samples out of it in the different codecs?

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
4th Feb, 2015, 03:04 AM
Post: #4
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: Unit testing
With the software I have I can only cut the original down to 60's of MP4.

From that I can only decode it to MP2. I have no idea about the other codecs.

If you can pass on the FTP details, I can upload the files.

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
4th Feb, 2015, 03:24 AM
Post: #5
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
RE: Unit testing
Can you maybe investigate the other codecs? 60s is fine as well.

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 10th May, 2025, 01:31 AM Powered By MyBB, © 2002-2025 MyBB Group.