L10 - Software Development Outline Build &...

Info iconThis preview shows pages 1–8. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Software Development Outline Build & Source Management Testing Style Standards Summary Software Development Margot Gerritsen Shela Aboud Emmet Caulfield School of Earth Sciences Stanford University January 26, 2010 Software Development Outline Build & Source Management Testing Style Standards Summary Outline 1 Build & Source Management 2 Testing 3 Style 4 Standards Software Development Outline Build & Source Management Testing Style Standards Summary Build & Execute .so .a ar .h .o cc .h .o cc .h .o cc ... .h .o cc .h cc .a .a ... .so .so ... System/Installed Libraries ld bin bin ... ... .c .c .c .c .c Software Development Outline Build & Source Management Testing Style Standards Summary Build & Source Management .xml .xsl .c XSLT processor .so cc .dat Autotools .m matlab .dat Results repository models transform .c PRNGs .o .so .c .o common .o post model plugins PRNG plugins cc ld ld cc gvrtk Diagram for gvrtk (simple project) Software Development Outline Build & Source Management Testing Style Standards Summary Source Management Store human-written files (source, docs) in a repository Store nothing that can be generated from source Etiquette dont break the repository Obey content rules (e.g. sources, docs, no bins) Obey check-in rules (vary, e.g. compile/test) Make your sessions small reduces collision frequency/severity Dont edit tagged revisions Software Development Outline Build & Source Management Testing Style Standards Summary Build Management Dont want to recompile everything for every minor change: Only recompile object files whose source (files) have changed = Need to specify what sources each object file depends on Only relink binaries whose object-files have changed = Need to specify what object-files each binary depends on Usually specify these dependencies manually (e.g. with rules in a Makefile ). After that, let tools do the work, choices include: make the venerable standard Apache Ant Java-based SCons Python-based GNU Autotools m4 and sh-based suite quite painful, but a de facto standard. Software Development Outline Build & Source Management Testing Style Standards Summary Testing Black-box treat system as opaque...
View Full Document

Page1 / 17

L10 - Software Development Outline Build &...

This preview shows document pages 1 - 8. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online