awesome
2014-10-03 15:23:47 UTC
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - Daniel Hahler (blueyed)
Attached to Project - awesome
Summary - Failures with "make test" / do not use "test" target by default
Task Type - Bug Report
Category - Build system
Status - Unconfirmed
Assigned To -
Operating System - All
Severity - Low
Priority - Normal
Reported Version - git/master
Due in Version - Undecided
Due Date - Undecided
Details - When running the unit tests, I get the following failures:
Running make test…
Scanning dependencies of target check
●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●
69 successes / 4 failures / 0 errors / 0 pending : 0.0 seconds
Failure → ./spec/gears/color_spec.lua @ 76
gears.color linear pattern string description
./spec/gears/color_spec.lua:42: Expected objects to be the same. Passed in:
(number) 1
Expected:
(number) 0.5
Failure → ./spec/gears/color_spec.lua @ 111
gears.color radial pattern string description
./spec/gears/color_spec.lua:42: Expected objects to be the same. Passed in:
(number) 1
Expected:
(number) 0.5
Failure → ./spec/gears/color_spec.lua @ 59
gears.color linear pattern table description
./spec/gears/color_spec.lua:42: Expected objects to be the same. Passed in:
(number) 1
Expected:
(number) 0.5
Failure → ./spec/gears/color_spec.lua @ 94
gears.color radial pattern table description
./spec/gears/color_spec.lua:42: Expected objects to be the same. Passed in:
(number) 1
Expected:
(number) 0.5
make[4]: *** [CMakeFiles/check] Error 1
make[3]: *** [CMakeFiles/check.dir/all] Error 2
make[2]: *** [CMakeFiles/test.dir/rule] Error 2
make[1]: *** [test] Error 2
make: *** [test] Error 2
This also happens on a clean/new checkout of master (@57b6433b).
Because this prevents building, I've added the following local patch to not run the tests for the "all" target:
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 37142e6..333df8a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -328,7 +328,7 @@ endif()
# {{{ Unit tests
find_program(BUSTED_EXECUTABLE busted)
if(BUSTED_EXECUTABLE)
- add_custom_target(check ALL
+ add_custom_target(check
${BUSTED_EXECUTABLE} "--lpath=${CMAKE_BINARY_DIR}/lib/?.lua;${CMAKE_BINARY_DIR}/lib/?/init.lua;spec/?.lua"
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
VERBATIM)
I don't know if this is the correct approach to it, but I think that there should be a explicit (default) target for only building, without running the tests.
More information can be found at the following URL:
https://awesome.naquadah.org/bugs/index.php?do=details&task_id=1301
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
A new Flyspray task has been opened. Details are below.
User who did this - Daniel Hahler (blueyed)
Attached to Project - awesome
Summary - Failures with "make test" / do not use "test" target by default
Task Type - Bug Report
Category - Build system
Status - Unconfirmed
Assigned To -
Operating System - All
Severity - Low
Priority - Normal
Reported Version - git/master
Due in Version - Undecided
Due Date - Undecided
Details - When running the unit tests, I get the following failures:
Running make test…
Scanning dependencies of target check
●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●
69 successes / 4 failures / 0 errors / 0 pending : 0.0 seconds
Failure → ./spec/gears/color_spec.lua @ 76
gears.color linear pattern string description
./spec/gears/color_spec.lua:42: Expected objects to be the same. Passed in:
(number) 1
Expected:
(number) 0.5
Failure → ./spec/gears/color_spec.lua @ 111
gears.color radial pattern string description
./spec/gears/color_spec.lua:42: Expected objects to be the same. Passed in:
(number) 1
Expected:
(number) 0.5
Failure → ./spec/gears/color_spec.lua @ 59
gears.color linear pattern table description
./spec/gears/color_spec.lua:42: Expected objects to be the same. Passed in:
(number) 1
Expected:
(number) 0.5
Failure → ./spec/gears/color_spec.lua @ 94
gears.color radial pattern table description
./spec/gears/color_spec.lua:42: Expected objects to be the same. Passed in:
(number) 1
Expected:
(number) 0.5
make[4]: *** [CMakeFiles/check] Error 1
make[3]: *** [CMakeFiles/check.dir/all] Error 2
make[2]: *** [CMakeFiles/test.dir/rule] Error 2
make[1]: *** [test] Error 2
make: *** [test] Error 2
This also happens on a clean/new checkout of master (@57b6433b).
Because this prevents building, I've added the following local patch to not run the tests for the "all" target:
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 37142e6..333df8a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -328,7 +328,7 @@ endif()
# {{{ Unit tests
find_program(BUSTED_EXECUTABLE busted)
if(BUSTED_EXECUTABLE)
- add_custom_target(check ALL
+ add_custom_target(check
${BUSTED_EXECUTABLE} "--lpath=${CMAKE_BINARY_DIR}/lib/?.lua;${CMAKE_BINARY_DIR}/lib/?/init.lua;spec/?.lua"
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
VERBATIM)
I don't know if this is the correct approach to it, but I think that there should be a explicit (default) target for only building, without running the tests.
More information can be found at the following URL:
https://awesome.naquadah.org/bugs/index.php?do=details&task_id=1301
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.