Embedded Linux QA: Unit Testing with Open Source - PowerPoint PPT Presentation

1 / 10
About This Presentation
Title:

Embedded Linux QA: Unit Testing with Open Source

Description:

Code Checker (lint etc.) Memory Monitor (Valgrind, Electric Fence) ... Used in typical Open Source projects. Generated configuration scripts in packages. ... – PowerPoint PPT presentation

Number of Views:90
Avg rating:3.0/5.0
Slides: 11
Provided by: horstl6
Category:

less

Transcript and Presenter's Notes

Title: Embedded Linux QA: Unit Testing with Open Source


1
Embedded Linux QAUnit Testing with Open Source
2
About PHILOSYS Software GmbH
  • UNIX/GNU/Linux Software
  • 20 years
  • Service Provider
  • Consulting, Design, Implementation, Maintenance
  • Kernel, Networking, Visualization

3
QA in Open Source Projects
  • Here Technical aspects independent of
    ISO-certification
  • Diverse, not always as desired
  • Tools to support process

4
QA Tools
  • Bug Tracking (RequestTracker, OTRS)
  • Code Checker (lint etc.)
  • Memory Monitor (Valgrind, Electric Fence)
  • Compiler Warnings (-Wall -Wextra !)
  • Black box testing (dejagnu)
  • Unit testing (JUnit, autotools)

5
Unit Testing
  • Background eXtreme Programming
  • Goal Automated, ubiquitous testing
  • Frameworks Junit, PyUnit, TestUnit, autounit,
    ...

6
Autotools
7
autotools
  • Standard GNU framework
  • autoconf, automake, libtool, etc.
  • Used in typical Open Source projects
  • Generated configuration scripts in packages
  • ./configure make make install
  • Goal make test

8
Embedded Aspects
  • Cross toolchains
  • autotools are prepared for cross compilation
  • Problem Program execution on target
  • TESTS_ENVIRONMENTssh username_at_targethost
  • Prerequisite Target is powerful enough to
    execute tests in addition to normal program
  • Transparent evaluation of results

9
Example Test Protocol
10
Thanks for Your Kind Attention!
  • More Information
  • Philosys Software GmbH
  • Edisonstr. 6
  • D-85716 Unterschleissheim
  • www.philosys.de
  • Phone 49-89-321407-14
  • roland.stigge_at_philosys.de
Write a Comment
User Comments (0)
About PowerShow.com