Add TEST_MAPPING for the APF low-level code.
Currently, this will run NetworkStackTests (which run the
interpreter) and apf_run_test (which runs the disassembler).
Also disable apf_run_test on Windows because it's a shell script
that relies on bash.
Bug: 66928272
Test: treehugger
Change-Id: I0773887604a2c41e63e4c6c629ad81c3e6143bcc
diff --git a/Android.bp b/Android.bp
index 5df80dd..4157e2a 100644
--- a/Android.bp
+++ b/Android.bp
@@ -65,5 +65,8 @@
darwin: {
enabled: false,
},
+ windows: {
+ enabled: false,
+ },
},
}
diff --git a/TEST_MAPPING b/TEST_MAPPING
new file mode 100644
index 0000000..9135dc3
--- /dev/null
+++ b/TEST_MAPPING
@@ -0,0 +1,7 @@
+{
+ "postsubmit": [
+ { "name": "NetworkStackTests" },
+ { "name": "apf_run_test",
+ "host": true }
+ ]
+}