[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#27599] [PATCH 1/2] gnu: Add cmdtest.

From: Arun Isaac
Subject: [bug#27599] [PATCH 1/2] gnu: Add cmdtest.
Date: Sat, 08 Jul 2017 22:07:20 +0530

> I can't figure out what's going wrong with the test suite. Perhaps
> someone familiar with the Coverage Test Runner module in python can be
> of assistance.

I made some progress. Here are the arguments I used.

 `(#:python ,python-2
   (modify-phases %standard-phases
     ;; check phase needs to be run before the build phase. If not, the
     ;; coverage test runner looks for tests for the built source files,
     ;; and fails.
     (delete 'check)
     (add-before 'build 'check
       (lambda _
         (substitute* "yarn"
           (("/bin/sh") (which "sh")))
         (zero? (system* "python" "" "check")))))))

However, there is still one (hopefully) last test that is failing. This
happens when `python check' runs `./cmdtest yarn.tests'. I'm
not able to figure out exactly what the issue is. But, I noticed that
this test fails only in the build environment, and runs fine in my user
environment. So, this must be due to something that is missing in the
build environment -- possibly some environment variable. Check it out
and let me know. I will also continue trying.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]