Skip to content
Permalink
Browse files
Internalize testing.h.
We should work towards extending Google Test to do everything we like.
Only allow the existing unit tests in cloudlibc to use it.
  • Loading branch information
EdSchouten committed Jan 14, 2019
1 parent 5feba3d commit fe32cb28844654eb17cda02f5d08f5c9bc14b2bb
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 10 deletions.
2 TODO
@@ -19,7 +19,7 @@ semaphore.h setjmp.h signal.h stdalign.h stdarg.h stdatomic.h stdbool.h
stddef.h stdint.h stdlib.h stdnoreturn.h strings.h sys/capsicum.h
sys/mman.h sys/resource.h sys/select.h sys/socket.h sys/stat.h
sys/time.h sys/times.h sys/types.h sys/uio.h sys/un.h sys/utsname.h
syslog.h tar.h testing.h tgmath.h threads.h time.h uchar.h wctype.h
syslog.h tar.h tgmath.h threads.h time.h uchar.h wctype.h

Will not be implemented:
------------------------
@@ -56,7 +56,6 @@ cc_library(
"//src/libc/sys/uio",
"//src/libc/sys/utsname",
"//src/libc/syslog",
"//src/libc/testing",
"//src/libc/threads",
"//src/libc/time",
"//src/libc/uchar",
@@ -1,18 +1,15 @@
load("@org_cloudabi_bazel_toolchains_cloudabi//:cc.bzl", "cc_test_cloudabi")

cc_library(
name = "testing",
name = "testing_main",
srcs = [
"failure.c",
"main_test.c",
"testing_execute.c",
"testing_impl.h",
],
visibility = ["//src/libc:__pkg__"],
)

cc_library(
name = "testing_main",
srcs = ["main_test.c"],
visibility = ["//visibility:public"],
hdrs = ["testing.h"],
includes = ["."],
visibility = ["//src/libc:__subpackages__"],
deps = ["@org_cloudabi_argdata//:argdata"],
)
File renamed without changes.

0 comments on commit fe32cb2

Please sign in to comment.