Bug 280965 - need a focused suite of target tests
Summary: need a focused suite of target tests
Status: CLOSED FIXED
Alias: None
Product: RTSC (ARCHIVED)
Classification: Technology
Component: Targets (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P1 normal (vote)
Target Milestone: ---   Edit
Assignee: Sasha Slijepcevic CLA
QA Contact:
URL:
Whiteboard: target:3.23
Keywords: test
Depends on:
Blocks:
 
Reported: 2009-06-19 20:33 EDT by Dave Russo CLA
Modified: 2012-01-23 20:59 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Russo CLA 2009-06-19 20:33:12 EDT
When creating a new target it is important to know if it is "correct".  We should factor out a small set of tests from the test tree that can easily be run on any target and make sure that it is easy to run the tests on all targets that are part of a distribution.  

At a minimum the test suite should contain tests that would detect https://bugs.eclipse.org/bugs/show_bug.cgi?id=280521
Comment 1 Sasha Slijepcevic CLA 2010-05-28 22:15:33 EDT
The testsuite 'alltargets' is created with two tests - one for 280521 and one 'hello world' type test.

For now, to run the tests for all supported targets, or at least the ones for which there are CG Tools installed, type:
SM-MAKE .all-files TESTSUITES=alltargets TARGS=

To run only a subset of targets, list them in the variable TARGS. The golden output is created for all targets.
Comment 2 Dave Russo CLA 2011-06-15 20:21:35 EDT
Moved to fix verify to XDCtools 3.22.02
Comment 3 Vikram Adiga CLA 2011-12-09 19:11:11 EST
Verified to be working correctly on:

xdc test tree: xdctest-b08
xdc product: 3.23.00.32

Ran the command SM-MAKE .all-files TESTSUITES=alltargets TARGS= . All targets are confirmed to be tested from the log file generated in src/alltargets
Comment 4 Vikram Adiga CLA 2011-12-09 19:49:30 EST
added a hudson job "xdctest_alltargets" for all targets
Comment 5 Dave Russo CLA 2012-01-23 20:59:59 EST
shipped in xdctools 3.23.00.33