Use linkme rather than collecting tests manually.

Bug: 260692911
Test: atest apkdmverity.test libdm_rust.test
Change-Id: I9355dc13e31c4487109be31e2d7a7a50b16fb889
diff --git a/apkdmverity/src/main.rs b/apkdmverity/src/main.rs
index 506af48..55953a9 100644
--- a/apkdmverity/src/main.rs
+++ b/apkdmverity/src/main.rs
@@ -153,28 +153,17 @@
 }
 
 #[cfg(test)]
-ignorabletest::test_main!(tests::all_tests());
+ignorabletest::test_main!();
 
 #[cfg(test)]
 mod tests {
     use crate::*;
-    use ignorabletest::{list_tests, test};
+    use ignorabletest::test;
     use std::fs::{File, OpenOptions};
     use std::io::Write;
     use std::ops::Deref;
     use std::os::unix::fs::FileExt;
 
-    list_tests! {all_tests: [
-        correct_inputs,
-        incorrect_apk,
-        incorrect_merkle_tree,
-        tampered_apk,
-        tampered_idsig,
-        inputs_are_block_devices,
-        correct_custom_roothash,
-        verify_command,
-    ]}
-
     struct TestContext<'a> {
         data_backing_file: &'a Path,
         hash_backing_file: &'a Path,