Description
I am in the process of enabling existing unit tests for watson builds. While testing, I am seeing the following:
12:31:53 Start 175: ns_ui_test
|
12:31:53 Could not find executable karma
|
12:31:53 Looked in the following places:
|
12:31:53 karma
|
12:31:53 karma
|
12:31:53 Release/karma
|
12:31:53 Release/karma
|
12:31:53 Debug/karma
|
12:31:53 Debug/karma
|
12:31:53 MinSizeRel/karma
|
12:31:53 MinSizeRel/karma
|
12:31:53 RelWithDebInfo/karma
|
12:31:53 RelWithDebInfo/karma
|
12:31:53 Deployment/karma
|
12:31:53 Deployment/karma
|
12:31:53 Development/karma
|
12:31:53 Development/karma
|
12:31:53 Unable to find executable: karma
|
12:31:53 172/175 Test #175: ns_ui_test ......................................................***Not Run 0.00 sec
|
Since the build machines obviously don’t have “karma” installed, they fail with a “Not Run” error.
Trying to understand what needs to be done here: Can we set it such that the test will be skipped if karma is not found? Or may be the project can internally take care of configuring any dependency it needs before it runs the tests. Or will it be necessary that we should install “karma” on the build slaves (I would like to limit the things that are pre-installed on build slaves if possible).
NOTE: this is not yet fully enabled on production watson builds due to a different issue. But here is a link to the error on a toy-build: http://server.jenkins.couchbase.com/job/watson-toy/85/consoleFull