Skip to content

Commit 6facc76

Browse files
committed
Remove %FN% from test name
1 parent c386b96 commit 6facc76

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

tests/bank_fields.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ fn test_basic_bank_store_and_load() {
1616
// This is a straightforward test of banked fields.
1717
// Internally: Apart from setting the bank index beforehand, the field read/write is identical
1818
// to normal fields. So this test is probably sufficient testing of banked fields.
19-
const AML: &str = r#"DefinitionBlock("%FN%", "DSDT", 1, "RSACPI", "BNKFLD", 1) {
19+
const AML: &str = r#"DefinitionBlock("", "DSDT", 1, "RSACPI", "BNKFLD", 1) {
2020
OperationRegion(MEM, SystemMemory, 0x40000, 0x1000)
2121
Field(MEM, ByteAcc, NoLock, Preserve) {
2222
INDX, 8

tests/index_fields.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ mod test_infra;
1616
fn test_basic_index_store_and_load_8_bit() {
1717
// In this test, the data register has the same width as the fields and all fields are correctly
1818
// aligned. We should see single reads and writes for each store operation.
19-
const AML: &str = r#"DefinitionBlock("%FN%", "DSDT", 1, "RSACPI", "IDXFLD", 1) {
19+
const AML: &str = r#"DefinitionBlock("", "DSDT", 1, "RSACPI", "IDXFLD", 1) {
2020
OperationRegion(MEM, SystemMemory, 0x40000, 0x1000)
2121
Field(MEM, ByteAcc, NoLock, Preserve) {
2222
OFFSET(0x10),
@@ -70,7 +70,7 @@ fn test_basic_index_store_and_load_8_bit() {
7070
fn test_basic_index_store_and_load_16_bit() {
7171
// In this test, the data register has the same width as the fields and all fields are correctly
7272
// aligned. We should see single reads and writes for each store operation.
73-
const AML: &str = r#"DefinitionBlock("%FN%", "DSDT", 1, "RSACPI", "IDXFLD", 1) {
73+
const AML: &str = r#"DefinitionBlock("", "DSDT", 1, "RSACPI", "IDXFLD", 1) {
7474
OperationRegion(MEM, SystemMemory, 0x40000, 0x1000)
7575
Field(MEM, WordAcc, NoLock, Preserve) {
7676
OFFSET(0x20),
@@ -124,7 +124,7 @@ fn test_basic_index_store_and_load_16_bit() {
124124
fn test_index_multiple_aligned_reads() {
125125
// In this test, the data register is narrower than the fields, so multiple data register
126126
// reads are needed to access each field.
127-
const AML: &str = r#"DefinitionBlock("%FN%", "DSDT", 1, "RSACPI", "IDXFLD", 1) {
127+
const AML: &str = r#"DefinitionBlock("", "DSDT", 1, "RSACPI", "IDXFLD", 1) {
128128
OperationRegion(MEM, SystemMemory, 0x40000, 0x1000)
129129
Field(MEM, ByteAcc, NoLock, Preserve) {
130130
OFFSET(0x04),
@@ -174,7 +174,7 @@ fn test_index_narrower_than_data() {
174174
// In this test, the access width of the index field is smaller than the data register. Even
175175
// though it looks as though individual 16-bit reads/writes would be OK, actually multiple
176176
// 8-bit reads/writes are needed to access each field. (Not intuitive, but matches ACPICA)
177-
const AML: &str = r#"DefinitionBlock("%FN%", "DSDT", 1, "RSACPI", "IDXFLD", 1) {
177+
const AML: &str = r#"DefinitionBlock("", "DSDT", 1, "RSACPI", "IDXFLD", 1) {
178178
OperationRegion(MEM, SystemMemory, 0x40000, 0x1000)
179179
Field(MEM, WordAcc, NoLock, Preserve) {
180180
OFFSET(0x06),
@@ -223,7 +223,7 @@ fn test_index_narrower_than_data() {
223223
#[test]
224224
fn test_index_misaligned_field() {
225225
// Check that we can successfully update non-aligned index fields.
226-
const AML: &str = r#"DefinitionBlock("%FN%", "DSDT", 1, "RSACPI", "IDXFLD", 1) {
226+
const AML: &str = r#"DefinitionBlock("", "DSDT", 1, "RSACPI", "IDXFLD", 1) {
227227
OperationRegion(MEM, SystemMemory, 0x40000, 0x1000)
228228
Field(MEM, ByteAcc, NoLock, Preserve) {
229229
OFFSET(0x08),

0 commit comments

Comments
 (0)