diff --git a/Makefile b/Makefile index 08dd4a3850..2d5c248c99 100644 --- a/Makefile +++ b/Makefile @@ -445,7 +445,7 @@ testlua: lua @set -e # Abort on error. @for test in $(LUATESTS) ; do \ echo LUA $$test; \ - LUA_PATH="tests/bindings/lua/lunit/?.lua;upb/bindings/lua/?.lua" \ + LUA_PATH="third_party/lunit/?.lua;upb/bindings/lua/?.lua" \ LUA_CPATH=upb/bindings/lua/?.so \ lua $$test; \ done diff --git a/tests/bindings/lua/LICENSE b/third_party/lunit/LICENSE similarity index 100% rename from tests/bindings/lua/LICENSE rename to third_party/lunit/LICENSE diff --git a/third_party/lunit/README.google b/third_party/lunit/README.google new file mode 100644 index 0000000000..af3e50e739 --- /dev/null +++ b/third_party/lunit/README.google @@ -0,0 +1,9 @@ +URL: https://github.com/dcurrie/lunit +Version: 0.5 +License: MIT +License File: LICENSE +Description: +A unit testing library for Lua. + +Local Modifications: +Extracted the two file we actually need from the distribution. diff --git a/tests/bindings/lua/lunit/console.lua b/third_party/lunit/console.lua similarity index 100% rename from tests/bindings/lua/lunit/console.lua rename to third_party/lunit/console.lua diff --git a/tests/bindings/lua/lunit/lunit.lua b/third_party/lunit/lunit.lua similarity index 100% rename from tests/bindings/lua/lunit/lunit.lua rename to third_party/lunit/lunit.lua