Skip to content

Commit

Permalink
change test
Browse files Browse the repository at this point in the history
  • Loading branch information
Renaud Guillard committed Jul 2, 2021
1 parent e38fe03 commit 16698cd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/tools/test_gcc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -696,23 +696,23 @@
location "subdir"
frameworkdirs {
"/Users/PremakeDefeloper/Library/Frameworks",
"Relative/Frameworks"
"subdir/Relative/Frameworks"
}
prepare()
test.contains("-F/Users/PremakeDefeloper/Library/Frameworks", gcc.getincludedirs(cfg, {}, {}, cfg.frameworkdirs))
test.contains("-F../Relative/Frameworks", gcc.getincludedirs(cfg, {}, {}, cfg.frameworkdirs))
test.contains("-FRelative/Frameworks", gcc.getincludedirs(cfg, {}, {}, cfg.frameworkdirs))
end

function suite.libDirs_macosx_onFrameworkDirs()
system "MacOSX"
location "subdir"
frameworkdirs {
"/Users/PremakeDefeloper/Library/Frameworks",
"Relative/Frameworks"
"subdir/Relative/Frameworks"
}
prepare()
test.contains("-F/Users/PremakeDefeloper/Library/Frameworks", gcc.getLibraryDirectories(cfg))
test.contains("-F../Relative/Frameworks", gcc.getLibraryDirectories(cfg))
test.contains("-FRelative/Frameworks", gcc.getLibraryDirectories(cfg))
end

function suite.includeDirs_ios_onFrameworkDirs()
Expand Down

0 comments on commit 16698cd

Please sign in to comment.