From 24899d05cdebdaa404957eaee698a12ffe4daaf1 Mon Sep 17 00:00:00 2001 From: Jay McCarthy Date: Mon, 8 Aug 2011 12:10:26 -0600 Subject: [PATCH] Communicating with program --- collects/meta/drdr/plt-build.rkt | 1 + collects/meta/drdr/render.rkt | 2 ++ 2 files changed, 3 insertions(+) diff --git a/collects/meta/drdr/plt-build.rkt b/collects/meta/drdr/plt-build.rkt index b96a042a45..06c2a9d333 100644 --- a/collects/meta/drdr/plt-build.rkt +++ b/collects/meta/drdr/plt-build.rkt @@ -348,6 +348,7 @@ (with-env (["PLTSTDERR" "error"] ["GIT_DIR" (path->string (plt-repository))] ["TMPDIR" (path->string tmp-dir)] + ["PLTDRDR" "yes"] ["PATH" (format "~a:~a" (path->string diff --git a/collects/meta/drdr/render.rkt b/collects/meta/drdr/render.rkt index 3885034302..c2a207affd 100644 --- a/collects/meta/drdr/render.rkt +++ b/collects/meta/drdr/render.rkt @@ -555,6 +555,8 @@ @p{The command-line is always executed with a fresh empty current directory which is removed after the run. But all the files share the same home directory and X server, which are both removed after each push's testing is complete.} + @p{When DrDr runs any command, it sets the @code{PLTDRDR} environment variable. You can use this to change the command's behavior. However, it is preferred that you change the command-line directly.} + @h1{How many files are "tested" concurrently?} @p{One per core, or @,(number->string (number-of-cpus)).}