Index: /branches/czw_branch/20160809/Ohana/src/uniphot/include/setgalmodel.h
===================================================================
--- /branches/czw_branch/20160809/Ohana/src/uniphot/include/setgalmodel.h	(revision 39739)
+++ /branches/czw_branch/20160809/Ohana/src/uniphot/include/setgalmodel.h	(revision 39740)
@@ -10,5 +10,4 @@
 char        *HOSTDIR;
 int          VERBOSE;
-int          TESTING;
 int          UPDATE;
 int          PARALLEL;
@@ -17,4 +16,6 @@
 char        *UPDATE_CATFORMAT;
 char        *SINGLE_CPT;
+
+float        TEST_SCALE;
 
 SkyRegion    UserPatch;
Index: /branches/czw_branch/20160809/Ohana/src/uniphot/src/initialize_setgalmodel.c
===================================================================
--- /branches/czw_branch/20160809/Ohana/src/uniphot/src/initialize_setgalmodel.c	(revision 39739)
+++ /branches/czw_branch/20160809/Ohana/src/uniphot/src/initialize_setgalmodel.c	(revision 39740)
@@ -92,7 +92,8 @@
   }
 
-  TESTING = FALSE;
+  TEST_SCALE = 1.0;
   if ((N = get_argument (argc, argv, "-testing"))) {
-    TESTING = TRUE;
+    remove_argument (N, &argc, argv);
+    TEST_SCALE = atof(argv[N]);
     remove_argument (N, &argc, argv);
   }
@@ -212,7 +213,8 @@
   }
 
-  TESTING = FALSE;
+  TEST_SCALE = 1.0;
   if ((N = get_argument (argc, argv, "-testing"))) {
-    TESTING = TRUE;
+    remove_argument (N, &argc, argv);
+    TEST_SCALE = atof(argv[N]);
     remove_argument (N, &argc, argv);
   }
Index: /branches/czw_branch/20160809/Ohana/src/uniphot/src/update_catalog_setgalmodel.c
===================================================================
--- /branches/czw_branch/20160809/Ohana/src/uniphot/src/update_catalog_setgalmodel.c	(revision 39739)
+++ /branches/czw_branch/20160809/Ohana/src/uniphot/src/update_catalog_setgalmodel.c	(revision 39740)
@@ -51,8 +51,6 @@
 
     // XXX: amplify motion to make tests easier:
-    if (TESTING) {
-      uL *= 100.0;
-      uB *= 100.0;
-    }
+    uL *= TEST_SCALE;
+    uB *= TEST_SCALE;
     
     double uR, uD;
Index: /branches/czw_branch/20160809/Ohana/src/uniphot/src/update_dvo_setgalmodel.c
===================================================================
--- /branches/czw_branch/20160809/Ohana/src/uniphot/src/update_dvo_setgalmodel.c	(revision 39739)
+++ /branches/czw_branch/20160809/Ohana/src/uniphot/src/update_dvo_setgalmodel.c	(revision 39740)
@@ -98,5 +98,5 @@
 
     if (VERBOSE)       	  { strextend (&command, "-v"); }
-    if (TESTING)       	  { strextend (&command, "-testing"); }
+    if (TEST_SCALE != 1.0){ strextend (&command, "-testing %f", TEST_SCALE); }
     if (UPDATE)        	  { strextend (&command, "-update"); }
     if (UPDATE_CATFORMAT) { strextend (&command, "-update-catformat %s", UPDATE_CATFORMAT); }
