150 likes | 293 Views
Test Harness & Website. Mike Phenow Trilinos User Group Meeting November 4 th , 2004 - 9:30 am. Contents. Contents. Test harness Overview Design Nightly Local Future Website Trilinos Developer Package Questions. Test Harness ~ Overview. Test Harness - Overview.
E N D
Test Harness & Website Mike Phenow Trilinos User Group MeetingNovember 4th, 2004 - 9:30 am
Contents Contents • Test harness • Overview • Design • Nightly • Local • Future • Website • Trilinos • Developer • Package • Questions
Test Harness ~ Overview Test Harness - Overview • Current test-harness.plx grew out of Jim Willenbring’s test-harness, which evolved from his earlier trilinos-check, which is based on Paul Lin's salsa-check, which was adapted from Gary Hennigan's Salsa-Check.sh • Provides a standard framework for running tests (particularly for developers) • Enables reasonable automation • http://software.sandia.gov/trilinos/developer/test_harness.html • Trilinos/testharness/README • % perl test-harness.plx -h
Test Harness ~ Overview Test Harness - Overview Most important flags: - Currently provides no testing functionality - For successfully built packages, will run any executable test scripts in: Trilinos/packages/PACKAGE/tests/scripts/(daily|weekly)/(mpi|serial)/
Test Harness ~ Design Test Harness - Design test harness config start invoke-configure create invoke-configure element fix configure invoke-configure element fix build invoke-configure element test report
Test Harness ~ Design Test Harness - Design amesos = \ --enable-amesos \ --with-ml_amesos anasazi = \ --enable-anasazi \ --with-loca-anasazi aztecoo = \ --enable-aztecoo \ --enable-komplex \ --enable-ml_aztecoo \ ... dependencies: potentially-broken package configure options to be removed, if broken
Test Harness ~ Design Test Harness - Design Anatomy of an invoke-configure:
Test Harness ~ Design Test Harness - Design • Most important config-file options • MACHINE_CONFIG_FILE • MACHINE_MPI_CONFIG_FILE • TRILINOS_CONFIG_FILE • REPORT_METHOD • SEND_TO_DEFAULTS • SERIAL_DIR • MPI_DIR • HOST_FILE • MPI_STARTUP_CMD • MPI_SHUTDOWN_CMD • MPIGO_CMD
Test Harness ~ Nightly Test Harness - Nightly • Platforms: • Linux: herouxsmp.cs.csbsju.edu • Linux: software.sandia.gov • SunOS: paunchy.sandia.gov • Dec/OSF1: stratus.sandia.gov • Changing configure options: • Trilinos/test-harness/elements-trilinos/ • Trilinos/test-harness/elements-machine/ • e.g. osf-stratus
Test Harness ~ Local Test Harness - Local http://software.sandia.gov/trilinos/developer/test_harness.html create elements-machine/MY_MACHINE create elements-machine/MY_MACHINE_MPI create elements-trilinos/MY_OPTIONS perl test-harness.plx –g config/MY_CONFIG edit config/MY_CONFIG perl test-harness.plx –p config/MY_CONFIG perl test-harness.plx –f config/MY_CONFIG
Test Harness ~ Future Test Harness - Future developer queries results browser queries results database results results Major Platforms Developer Machines test machine test machine test machine test machine test machine test machine
Website ~ Trilinos Website - Trilinos • http://software.sandia.gov/trilinos • First stop for many users • Central location for information • Needs to be continually re-evaluated
Website ~ Developer Website - Developer • http://software.sandia.gov/trilinos/developer • Source for developer information and tools • Potential for more knowledge-sharing
Website ~ Package Website - Package • http://software.sandia.gov/trilinos/packages • Natural place for posting critical information for users • Doxygen documentation: • Trilinos/packages/PACKAGE/DoxyfileWeb • (Trilinos/packages/common) • http://software.sandia.gov/trilinos/developer/doxygen.html • Package pages: • TrilinosWeb/packages/PACKAGE/
Questions Questions Test Harness & Website