#*******************************************************************************
# Copyright (c) 2012 Sierra Wireless and others.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html
#
# Contributors:
#     Sierra Wireless - initial API and implementation
#*******************************************************************************

PROJECT(TEST_LUAFWK)

ADD_LUA_LIBRARY(test_luafwk DESTINATION tests EXCLUDE_FROM_ALL
                bysant.lua luatobin.lua  persist.lua rpc.lua sched.lua socket.lua logstore.lua crypto.lua posixsignal.lua
               )

ADD_DEPENDENCIES(test_luafwk agent_provisioning)

ADD_LUA_LIBRARY(test_racon DESTINATION tests EXCLUDE_FROM_ALL
    stagedb.lua devicetree.lua sms.lua system.lua)

ADD_UNIT_TEST(asset_tree asset_tree.lua TEST_TYPE non-standalone TEST_DEPENDENCY system_stubs,web_server)
ADD_UNIT_TEST(airvantage airvantage.lua TEST_DEPENDENCY web_server)
ADD_UNIT_TEST(devicetree devicetree.lua)
ADD_UNIT_TEST(sms sms.lua TEST_DEPENDENCY messaging_stubs)
ADD_UNIT_TEST(system system.lua TEST_DEPENDENCY system_stubs)
ADD_UNIT_TEST(emp emp.lua TEST_DEPENDENCY emp_server)
