#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
#
# common targets
# To run the test, you'll need to get pre-built installer of node.js for
# Solaris at nodejs.org since node.js is not delivered as part of Solaris
# yet.
# Then go to qunit's source code root, such as 'qunit-1.23.1',
# run `npm install -g grunt-cli` to have a global grunt binary,
# and run `npm install` to get required node modules for additional grunt tasks.
# Finally run `grunt` to start running all the test tasks.
# However, phantomjs is not supported well in Solaris and there is not an intuitive
# patch for fixing it, therefore `npm install` fails when it tries to install
# phantomjs, and the test taks can't be run.
# The phantomjs issue is discussed at:
#
#
# These test tasks are passed successfully in a Mac OSX laptop. It'd be fine
# to use QUnit in the browser.
test: $(NO_TESTS)