Ticket #2049: git-test-fix-arm.diff

File git-test-fix-arm.diff, 736 bytes (added by Josh, 11 years ago)

Fix compiling tests on ARM

  • build/premake/premake4.lua

    diff --git a/build/premake/premake4.lua b/build/premake/premake4.lua
    index 37db574..beb95be 100644
    a b function configure_cxxtestgen()  
    12021202        -- Don't include sysdep tests on the wrong sys
    12031203        -- Don't include Atlas tests unless Atlas is being built
    12041204        if not (string.find(v, "/sysdep/os/win/") and not os.is("windows")) and
    1205            not (string.find(v, "/tools/atlas/") and not _OPTIONS["atlas"])
     1205           not (string.find(v, "/tools/atlas/") and not _OPTIONS["atlas"]) and
     1206           not (string.find(v, "/sysdep/arch/x86_x64/") and ((arch ~= "amd64") or (arch ~= "x86")))
    12061207        then
    12071208            local src_file = string.sub(v, 1, -3) .. ".cpp"
    12081209            cxxtestsrcfiles { src_file }