         installer-ok (exe-on-server? bits today-token)
         missing-vcproj-files (missing-vcproj)]
     (when-not (and (not test)
-                   (empty? vs-error-text)
+                   (empty? vs-errors)
                    (empty? outdated-dlls)
                    (empty? javac-errs)
                    (empty? outdated-jars)

(defn report-build-errors [bits mode test]
  (let [f (result-file bits mode)
        result-txt (slurp f)
        vs-error-text (visual-studio-error-text result-txt)
        outdated-dlls (map #(.getName %) (old-dlls (bin-dir bits) 24))
        javac-errs (javac-errors result-txt)
        outdated-jars (map #(.getName %)

          ({:inc "INCREMENTAL" :full "FULL"} mode)
          " BUILD ERROR REPORT\n"
        "For the full build output, see " (.getAbsolutePath f)
        (report-segment "Visual Studio reported errors" vs-errors)
        (report-segment "Outdated device adapter DLLs" outdated-dlls)
        (report-segment "Errors reported by java compiler" javac-errs)
        (report-segment "Outdated jar files" outdated-jars)
