diff --git a/.travis.yml b/.travis.yml index 618dbb0a..608e2bab 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,7 +23,7 @@ before_install: script: - buck test //:yoga - buck test //java:java - - buck test //YogaKit:YogaKit --config cxx.default_platform=iphonesimulator-x86_64 --config cxx.cflags=-DTRAVIS_CI + - buck test //YogaKit:YogaKitTests --config cxx.default_platform=iphonesimulator-x86_64 --config cxx.cflags=-DTRAVIS_CI - sh csharp/tests/Facebook.Yoga/test_macos.sh - buck run //benchmark:benchmark - git checkout HEAD^ diff --git a/BUCK b/BUCK index 09e39b43..b9d6c907 100644 --- a/BUCK +++ b/BUCK @@ -27,7 +27,7 @@ cxx_library( name = 'yoga', soname = 'libyogacore.$(ext)', srcs = glob(['yoga/*.c']), - tests=[':tests'], + tests=[':YogaTests'], exported_headers = subdir_glob([('', 'yoga/*.h')]), header_namespace = '', compiler_flags = COMPILER_FLAGS, @@ -38,7 +38,7 @@ cxx_library( ) cxx_test( - name = 'tests', + name = 'YogaTests', contacts = ['emilsj@fb.com'], srcs = glob(['tests/*.cpp']), compiler_flags = TEST_COMPILER_FLAGS, diff --git a/YogaKit/BUCK b/YogaKit/BUCK index 4a781038..900ededb 100644 --- a/YogaKit/BUCK +++ b/YogaKit/BUCK @@ -30,7 +30,6 @@ COMPILER_FLAGS = [ apple_library( name = 'YogaKit', compiler_flags = COMPILER_FLAGS, - tests = [':YogaKitTests'], srcs = glob(['*.m']), exported_headers = glob(['*.h']), frameworks = [