From df0f76bba5814f5cacc37f82ce7555c9b710a9cb Mon Sep 17 00:00:00 2001 From: Hannes Verlinde Date: Fri, 23 Dec 2016 02:05:43 -0800 Subject: [PATCH] Run unit tests on Sandcastle Summary: - Change the CI config so it runs the tests for Editor on Sandcastle - Don't run tests for effects-framework and yoga libraries when building for Mac (triggers code signing issues that I don't want to deal with right now) - Add target for unit tests (aka EditorTests) - Make the existing unit tests build and pass. These include both Objective-C and Swift (we should probably get rid of some of these though). I will convert these to Swift 3 before landing (after the migration is complete). - Exclude the EditorUITests target for now. It only contains a single dummy test and it causes a code signing failure on Sandcastle. I did not manage to work around that yet but there is a separate task for it. Reviewed By: Perspx Differential Revision: D4352670 fbshipit-source-id: 0295004a72953bd8e7ae83895b2e5712bab7bd32 --- BUCK | 1 + 1 file changed, 1 insertion(+) diff --git a/BUCK b/BUCK index aa7ec37e..49107901 100644 --- a/BUCK +++ b/BUCK @@ -20,6 +20,7 @@ cxx_library( soname = 'libyogacore.$(ext)', srcs = glob(['yoga/*.c']), tests=[':YogaTests'], + fbobjc_macosx_tests_override = [], exported_headers = subdir_glob([('', 'yoga/*.h')]), header_namespace = '', compiler_flags = COMPILER_FLAGS,