Ignore:
Timestamp:
08/25/14 02:43:30 (11 years ago)
Author:
epyon
Message:
  • updated all tests to new nova
  • cleaned up tests paths
  • general cleanup of tests and test data
Location:
trunk/tests/lualib_test
Files:
1 added
1 deleted
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/tests/lualib_test/nv_lualib_test.cc

    r214 r321  
    44#include <nv/lua/lua_raw.hh>
    55#include <nv/lua/lua_glm.hh>
    6 #include <nv/logger.hh>
    7 #include <nv/math.hh>
    8 #include <nv/object.hh>
    9 #include <string>
     6#include <nv/core/logger.hh>
     7#include <nv/core/math.hh>
     8#include <nv/core/string.hh>
    109#include <iostream>
    1110#include <functional>
    12 #include <nv/gui/gui_element.hh>
    1311
    1412void hello( const std::string& h )
     
    3129                nv::lua::register_glm( state );
    3230                // run the Lua script
    33                 state.register_function<decltype(hello),&hello>( "hello" );
     31                state.register_function<decltype(&hello),&hello>( "hello" );
    3432                state.do_file( "init.lua" );
    3533                //std::cout << nv::function_traits<decltype(hello)>::arg_count << std::endl;
  • trunk/tests/lualib_test/premake4.lua

    r52 r321  
    88                defines { "DEBUG" }
    99                flags { "Symbols", "StaticRuntime" }
    10                 objdir (_ACTION.."/debug")
     10                objdir ("../../".._ACTION.."/debug")
    1111
    1212        configuration "release"
    1313                defines { "NDEBUG" }
    1414                flags { "Optimize", "StaticRuntime" }
    15                 objdir (_ACTION.."/release")
     15                objdir ("../../".._ACTION.."/release")
    1616
    1717        dofile("lualib_test.lua")
    1818        dofile("../../nv.lua")
    19 
    20 if _ACTION == "clean" then
    21         for action in premake.action.each() do
    22                 os.rmdir(action.trigger)
    23         end
    24 end
Note: See TracChangeset for help on using the changeset viewer.