Giter Site home page Giter Site logo

oe-test-scripts's Introduction

oe-test-scripts

Some testing scripts I use for OE/bitbake/yocto

These expect to be run from a functional bitbake build environment.

reloc-tests

This script tests for relocation errors in tools we run during the build

It does so by building the specified target, then rebuilding all of its dependencies from scratch in a new tmpdir, with all their dependencies pulled from sstates produced in the previous tmpdir.

This has been verified functional by removing flex-native's create_wrapper call, then building something which depends upon flex/bison.

greedy-deps-tests

This script tests for greedy configure scripts in recipe builds, which link against things based on their existence in the sysroot.

It does so by building the specified target, then rebuilding all of its dependencies from scratch, one by one, monitoring for buildhistory changes.

This has been verified functional by spotting libpcap's tendency to pull in libusb functionality if libusb is available. To reproduce this:

./greedy-deps-tests -p libusb1 -s -w libpcap

Example output of this command:

$ ./greedy-deps-tests -p libusb1 -s -w libpcap
Wiping temp directory...done
Wiping buildhistory directory...done
Building libpcap from scratch...done
Building libusb1 to prepopulate tmpdir...done
Cleaning libpcap...done
Rebuilding libpcap...done
Checking buildhistory for libpcap...failed
Differences in buildhistory for libpcap:
packages/i586-mel-linux/libpcap/libpcap-dbg: RRECOMMENDS: added "libusb1-dbg"
packages/i586-mel-linux/libpcap/libpcap-dev: RRECOMMENDS: added "libusb1-dev"
packages/i586-mel-linux/libpcap/libpcap: RDEPENDS: added "libusb1 (['>= 1.0.9'])"

leaky-layer-tests

This is a simple script which uses a default configuration (poky/qemux86), and adds each available bsp or distro layer to the configuration, one at a time, monitoring for changes to the appended recipes with bitbake-whatchanged. This helps one to identify bsp layers which affect machines other than the ones it provides, and distro layers which affect other distros when included.

oe-test-scripts's People

Contributors

kergoth avatar

Watchers

 avatar James Cloos avatar  avatar

Forkers

dfraseny

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.