소스 검색

add c99 for tbox test

ruki 6 년 전
부모
커밋
3a86816e6d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      packages/t/tbox/xmake.lua

+ 1 - 1
packages/t/tbox/xmake.lua

@@ -63,5 +63,5 @@ package("tbox")
     end)
 
     on_test(function (package)
-        assert(package:has_cfuncs("tb_exit", {includes = "tbox/tbox.h"}))
+        assert(package:has_cfuncs("tb_exit", {includes = "tbox/tbox.h", configs = {languages = "c99"}}))
     end)