[tests] run objc frontend tests...

Summary: sorryshame

Reviewed By: akotulski

Differential Revision: D4469145

fbshipit-source-id: 9c4623e
master
Jules Villard 8 years ago committed by Facebook Github Bot
parent b371a3429c
commit a229595856

@ -6,17 +6,37 @@
# of patent rights can be found in the PATENTS file in the same directory. # of patent rights can be found in the PATENTS file in the same directory.
.PHONY: arc.clean noarc.clean .PHONY: arc.clean
%.clean: arc.clean:
@$(MAKE) -C $% clean @$(MAKE) -C arc clean
.PHONY: arc.print noarc.print .PHONY: noarc.clean
%.print: noarc.clean:
@$(MAKE) -C $% print @$(MAKE) -C noarc clean
.PHONY: arc.test noarc.test .PHONY: arc.print
%.test: arc.print:
@$(MAKE) -C $% test @$(MAKE) -C arc print
.PHONY: noarc.print
noarc.print:
@$(MAKE) -C noarc print
.PHONY: arc.test
arc.test:
@$(MAKE) -C arc test
.PHONY: noarc.test
noarc.test:
@$(MAKE) -C noarc test
.PHONY: arc.replace
arc.replace:
@$(MAKE) -C arc replace
.PHONY: noarc.replace
noarc.replace:
@$(MAKE) -C noarc replace
.PHONY: clean .PHONY: clean
clean: arc.clean noarc.clean clean: arc.clean noarc.clean
@ -26,3 +46,6 @@ print: arc.print noarc.print
.PHONY: test .PHONY: test
test: arc.test noarc.test test: arc.test noarc.test
.PHONY: replace
replace: arc.replace noarc.replace

@ -15,7 +15,7 @@ XCODEROOT = $(shell xcode-select -p)
CLANG_OPTIONS = -x objective-c \ CLANG_OPTIONS = -x objective-c \
-isysroot $(XCODEROOT)$(IPHONESIMULATOR_ISYSROOT_SUFFIX) \ -isysroot $(XCODEROOT)$(IPHONESIMULATOR_ISYSROOT_SUFFIX) \
-mios-simulator-version-min=8.2 --target=x86_64-apple-darwin14 -c \ -mios-simulator-version-min=8.2 --target=x86_64-apple-darwin14 -c \
-fbobjc-arc -fobjc-arc
SOURCES = \ SOURCES = \
../predefined_expr/PredefinedExprExample.m \ ../predefined_expr/PredefinedExprExample.m \

@ -90,7 +90,7 @@ digraph iCFG {
"NSAssert_initWithRequest:instance.5013facd97881754f192867cc14cda52_22" -> "NSAssert_initWithRequest:instance.5013facd97881754f192867cc14cda52_16" ; "NSAssert_initWithRequest:instance.5013facd97881754f192867cc14cda52_22" -> "NSAssert_initWithRequest:instance.5013facd97881754f192867cc14cda52_16" ;
"NSAssert_initWithRequest:instance.5013facd97881754f192867cc14cda52_23" [label="23: DeclStmt \n n$33=_fun_NSString_stringWithUTF8String:(\"shared/assertions/NSAssert_example.m\":char*) [line 24]\n _fun___objc_retain(n$33:class NSString*) [line 24]\n *&__assert_file__:class NSString*=n$33 [line 24]\n " shape="box"] "NSAssert_initWithRequest:instance.5013facd97881754f192867cc14cda52_23" [label="23: DeclStmt \n n$33=_fun_NSString_stringWithUTF8String:(\"../shared/assertions/NSAssert_example.m\":char*) [line 24]\n _fun___objc_retain(n$33:class NSString*) [line 24]\n *&__assert_file__:class NSString*=n$33 [line 24]\n " shape="box"]
"NSAssert_initWithRequest:instance.5013facd97881754f192867cc14cda52_23" -> "NSAssert_initWithRequest:instance.5013facd97881754f192867cc14cda52_18" ; "NSAssert_initWithRequest:instance.5013facd97881754f192867cc14cda52_23" -> "NSAssert_initWithRequest:instance.5013facd97881754f192867cc14cda52_18" ;
@ -185,7 +185,7 @@ digraph iCFG {
"NSAssert_addTarget:instance.ef92ae23a24cf8063db0d913a051ea02_22" -> "NSAssert_addTarget:instance.ef92ae23a24cf8063db0d913a051ea02_16" ; "NSAssert_addTarget:instance.ef92ae23a24cf8063db0d913a051ea02_22" -> "NSAssert_addTarget:instance.ef92ae23a24cf8063db0d913a051ea02_16" ;
"NSAssert_addTarget:instance.ef92ae23a24cf8063db0d913a051ea02_23" [label="23: DeclStmt \n n$16=_fun_NSString_stringWithUTF8String:(\"shared/assertions/NSAssert_example.m\":char*) [line 19]\n _fun___objc_retain(n$16:class NSString*) [line 19]\n *&__assert_file__:class NSString*=n$16 [line 19]\n " shape="box"] "NSAssert_addTarget:instance.ef92ae23a24cf8063db0d913a051ea02_23" [label="23: DeclStmt \n n$16=_fun_NSString_stringWithUTF8String:(\"../shared/assertions/NSAssert_example.m\":char*) [line 19]\n _fun___objc_retain(n$16:class NSString*) [line 19]\n *&__assert_file__:class NSString*=n$16 [line 19]\n " shape="box"]
"NSAssert_addTarget:instance.ef92ae23a24cf8063db0d913a051ea02_23" -> "NSAssert_addTarget:instance.ef92ae23a24cf8063db0d913a051ea02_18" ; "NSAssert_addTarget:instance.ef92ae23a24cf8063db0d913a051ea02_23" -> "NSAssert_addTarget:instance.ef92ae23a24cf8063db0d913a051ea02_18" ;
@ -280,7 +280,7 @@ digraph iCFG {
"test1.5a105e8b9d40e1329780d62ea2265d8a_22" -> "test1.5a105e8b9d40e1329780d62ea2265d8a_16" ; "test1.5a105e8b9d40e1329780d62ea2265d8a_22" -> "test1.5a105e8b9d40e1329780d62ea2265d8a_16" ;
"test1.5a105e8b9d40e1329780d62ea2265d8a_23" [label="23: DeclStmt \n n$15=_fun_NSString_stringWithUTF8String:(\"shared/assertions/NSAssert_example.m\":char*) [line 31]\n _fun___objc_retain(n$15:class NSString*) [line 31]\n *&__assert_file__:class NSString*=n$15 [line 31]\n " shape="box"] "test1.5a105e8b9d40e1329780d62ea2265d8a_23" [label="23: DeclStmt \n n$15=_fun_NSString_stringWithUTF8String:(\"../shared/assertions/NSAssert_example.m\":char*) [line 31]\n _fun___objc_retain(n$15:class NSString*) [line 31]\n *&__assert_file__:class NSString*=n$15 [line 31]\n " shape="box"]
"test1.5a105e8b9d40e1329780d62ea2265d8a_23" -> "test1.5a105e8b9d40e1329780d62ea2265d8a_18" ; "test1.5a105e8b9d40e1329780d62ea2265d8a_23" -> "test1.5a105e8b9d40e1329780d62ea2265d8a_18" ;
@ -400,7 +400,7 @@ digraph iCFG {
"test2.ad0234829205b9033196ba818f7a872b_21" -> "test2.ad0234829205b9033196ba818f7a872b_15" ; "test2.ad0234829205b9033196ba818f7a872b_21" -> "test2.ad0234829205b9033196ba818f7a872b_15" ;
"test2.ad0234829205b9033196ba818f7a872b_22" [label="22: DeclStmt \n n$16=_fun_NSString_stringWithUTF8String:(\"shared/assertions/NSAssert_example.m\":char*) [line 36]\n _fun___objc_retain(n$16:class NSString*) [line 36]\n *&__assert_file__:class NSString*=n$16 [line 36]\n " shape="box"] "test2.ad0234829205b9033196ba818f7a872b_22" [label="22: DeclStmt \n n$16=_fun_NSString_stringWithUTF8String:(\"../shared/assertions/NSAssert_example.m\":char*) [line 36]\n _fun___objc_retain(n$16:class NSString*) [line 36]\n *&__assert_file__:class NSString*=n$16 [line 36]\n " shape="box"]
"test2.ad0234829205b9033196ba818f7a872b_22" -> "test2.ad0234829205b9033196ba818f7a872b_17" ; "test2.ad0234829205b9033196ba818f7a872b_22" -> "test2.ad0234829205b9033196ba818f7a872b_17" ;

@ -26,7 +26,7 @@ digraph iCFG {
"autorelease_test1.8f3499e28c7129f0f6b2300d214d7864_3" -> "autorelease_test1.8f3499e28c7129f0f6b2300d214d7864_2" ; "autorelease_test1.8f3499e28c7129f0f6b2300d214d7864_3" -> "autorelease_test1.8f3499e28c7129f0f6b2300d214d7864_2" ;
"autorelease_test1.8f3499e28c7129f0f6b2300d214d7864_4" [label="4: Release the autorelease pool \n n$0=_fun___objc_release_autorelease_pool(&s1:class Auto*,&s2:class Auto*,&s3:class Auto*) [line 38]\n " shape="box"] "autorelease_test1.8f3499e28c7129f0f6b2300d214d7864_4" [label="4: Release the autorelease pool \n n$0=_fun___objc_release_autorelease_pool(&s3:class Auto*,&s1:class Auto*,&s2:class Auto*) [line 38]\n " shape="box"]
"autorelease_test1.8f3499e28c7129f0f6b2300d214d7864_4" -> "autorelease_test1.8f3499e28c7129f0f6b2300d214d7864_3" ; "autorelease_test1.8f3499e28c7129f0f6b2300d214d7864_4" -> "autorelease_test1.8f3499e28c7129f0f6b2300d214d7864_3" ;
@ -69,7 +69,7 @@ digraph iCFG {
"autorelease_test2.d978c6e21f1931e19bc731b4ffb90225_3" -> "autorelease_test2.d978c6e21f1931e19bc731b4ffb90225_2" ; "autorelease_test2.d978c6e21f1931e19bc731b4ffb90225_3" -> "autorelease_test2.d978c6e21f1931e19bc731b4ffb90225_2" ;
"autorelease_test2.d978c6e21f1931e19bc731b4ffb90225_4" [label="4: Release the autorelease pool \n n$0=_fun___objc_release_autorelease_pool(&s1:class Auto*,&s3:class Auto*,&s2:class Auto*) [line 51]\n " shape="box"] "autorelease_test2.d978c6e21f1931e19bc731b4ffb90225_4" [label="4: Release the autorelease pool \n n$0=_fun___objc_release_autorelease_pool(&s2:class Auto*,&s3:class Auto*,&s1:class Auto*) [line 51]\n " shape="box"]
"autorelease_test2.d978c6e21f1931e19bc731b4ffb90225_4" -> "autorelease_test2.d978c6e21f1931e19bc731b4ffb90225_3" ; "autorelease_test2.d978c6e21f1931e19bc731b4ffb90225_4" -> "autorelease_test2.d978c6e21f1931e19bc731b4ffb90225_3" ;

Loading…
Cancel
Save