Index: trunk/tools/bills/concatsmf
===================================================================
--- trunk/tools/bills/concatsmf	(revision 38748)
+++ trunk/tools/bills/concatsmf	(revision 38860)
@@ -21,4 +21,5 @@
 
 my ($ota, $save_temps, $verbose);
+my $test_smf;
 
 GetOptions(
@@ -26,4 +27,5 @@
     "vebose|v"          =>  \$verbose,
     "save-temps"        =>  \$save_temps,
+    "test"              =>  \$test_smf,
 ) or pod2usage( 2 );
 
@@ -55,4 +57,16 @@
 
 my ($exp_name, $exp_id, $cam_id);
+
+if ($test_smf) {
+    # Test smf created by the ippToPsps test suite
+    # file name format is 'test.$exp_id.smf"
+    # There is only a single psf extension for chipnum zero
+    (undef, $exp_id) = split '\.', $infilename;
+    extract_chip($path, $output, $exp_id, 0, 'Chip.psf');
+    exit 0;
+}
+
+# gpc1 smf
+
 ($exp_name, $exp_id, undef, $cam_id) = split '\.', $infilename;
 
