[qmtest] [PATCH] Make dotted context keys available in the environment.

Mark Mitchell mark at codesourcery.com
Mon Aug 11 19:13:12 UTC 2003


Cool.

+ For example, a context variable
+       "CompilerTable.c_path" would correspond to an
+       environment variable
+       "<envar>QMV_CompilerTable__c_path</envar>".</para>

I suggest you reword this as:

  For example, the value of the context property "CompilerTable.c_path" is
available as the
  value of the environment variable "QMV_CompilerTable__c_path".

+        # And if there is a context file, use it.
+        if os.path.exists(context_file):
+            argv += ("-C", context_file)

I believe that (from looking at cmdline.py) that a file named "context" will
be used implicitly if no other context file is provided.  So, this code is
probably redundant and can be omitted.

OK with those changes.

Thanks!

----- Original Message ----- 
From: "Nathaniel Smith" <njs at pobox.com>
To: <qmtest at codesourcery.com>
Sent: Monday, August 11, 2003 11:11 AM
Subject: [qmtest] [PATCH] Make dotted context keys available in the
environment.


> See attached.
>
> -- Nathaniel
>
> -- 
> "...All of this suggests that if we wished to find a modern-day model
> for British and American speech of the late eighteenth century, we could
> probably do no better than Yosemite Sam."
>




More information about the qmtest mailing list