ANDROID: Enable abs01 test case.
This test was previously disabled because it did not build against AOSP.
An upstream change to fix this build problem has since been merged.
Bug: 37950676
Test: manually ran abs01 on cuttlefish
Change-Id: Ia503ed6c08584ec975ad335f3152946616ae6c42
Signed-off-by: Alistair Strachan <astrachan@google.com>
diff --git a/gen.bp b/gen.bp
index a226e99..2ae849d 100644
--- a/gen.bp
+++ b/gen.bp
@@ -93,7 +93,6 @@
srcs: [
"lib/tst_safe_sysv_ipc.c",
"lib/tst_mkfs.c",
- "lib/tst_resource.c",
"lib/tst_path_has_mnt_flags.c",
"lib/tst_process_state.c",
"lib/tst_fs_type.c",
@@ -132,6 +131,7 @@
"lib/tst_status.c",
"lib/tst_cpu.c",
"lib/safe_net.c",
+ "lib/tst_resource.c",
"lib/tst_fs_link_count.c",
"lib/tst_module.c",
"lib/tst_fs_has_free.c",
@@ -168,6 +168,16 @@
}
cc_test {
+ name: "ltp_abs01",
+ stem: "abs01",
+ defaults: ["ltp_test_defaults"],
+ srcs: ["testcases/misc/math/abs/abs01.c"],
+ cflags: ["-D_FORTIFY_SOURCE=2"],
+ local_include_dirs: ["include/old"],
+ static_libs: ["libltp_ltp"],
+}
+
+cc_test {
name: "ltp_accept01",
stem: "accept01",
defaults: ["ltp_test_defaults"],