Files
Jeff Kaufman 91662d08ae devel: open source google's mod_pagespeed development tools
These are the scripts and Makefiles we've been using to develop mod_pagespeed.  These were in a google-internal repo instead of being open sourced for complicated internal reasons, but now mod_pagespeed developers inside and outside google can use the same tools and flow.

This change adds a bunch of make targets.  To see them, look at the big comment at the top of devel/Makefile.  To run them, cd to devel/ and run make:

   cd devel/
   make apache_debug_smoke_test

This change also adds 'checkin' tests, which are a way to run all our tests together, so we can be confident a change doesn't break any of them.  To run checkin tests:

   cd devel/
   ./checkin

They're pretty slow: about 2hr on my machine.  Definitely don't bother runnning checkin tests until unit tests and system tests have passed first.
2016-12-06 09:18:26 -05:00

9 lines
86 B
Bash
Executable File

#!/bin/bash
"$@"
if [ $? -eq 0 ]; then
echo expected $1 to fail
exit 1
fi
exit 0