1# 2# Driver for D10V assembler testsuite 3# 4proc run_list_test { name opts } { 5 global srcdir subdir 6 set testname "D10V $name" 7 set file $srcdir/$subdir/$name 8 gas_run ${name}.s $opts ">&dump.out" 9 if {[regexp_diff "dump.out" "${file}.l"] } { 10 fail $testname 11 verbose "output is [file_contents "dump.out"]" 2 12 return 13 } 14 pass $testname 15} 16 17if {[istarget d10v-*-*]} { 18 run_dump_test "inst" 19 run_dump_test "address-001" 20 run_list_test "address-002" "" 21 run_list_test "address-003" "" 22 run_list_test "address-004" "" 23 run_list_test "address-005" "" 24 run_list_test "address-006" "" 25 run_list_test "address-007" "" 26 run_list_test "address-008" "" 27 run_list_test "address-009" "" 28 run_list_test "address-010" "" 29 run_list_test "address-011" "" 30 run_list_test "address-012" "" 31 run_list_test "address-013" "" 32 run_list_test "address-014" "" 33 run_list_test "address-015" "" 34 run_list_test "address-016" "" 35 run_list_test "address-017" "" 36 run_list_test "address-018" "" 37 run_list_test "address-019" "" 38 run_list_test "address-020" "" 39 run_list_test "address-021" "" 40 run_list_test "address-022" "" 41 run_list_test "address-023" "" 42 run_list_test "address-024" "" 43 run_list_test "address-025" "" 44 run_list_test "address-026" "" 45 run_list_test "address-027" "" 46 run_list_test "address-028" "" 47 run_list_test "address-029" "" 48 run_list_test "address-030" "" 49 run_list_test "address-031" "" 50 run_list_test "address-032" "" 51 run_list_test "address-033" "" 52 run_list_test "address-034" "" 53 run_list_test "address-035" "" 54 run_list_test "address-036" "" 55 run_list_test "address-037" "" 56 run_list_test "address-038" "" 57 run_list_test "address-039" "" 58 run_list_test "address-040" "" 59 run_list_test "address-041" "" 60 run_dump_test "instruction_packing" 61 run_dump_test "instruction_packing-001" 62 run_dump_test "instruction_packing-002" 63 run_dump_test "instruction_packing-003" 64 run_dump_test "instruction_packing-004" 65 run_dump_test "instruction_packing-005" 66 run_dump_test "instruction_packing-006" 67 run_dump_test "instruction_packing-007" 68 run_dump_test "instruction_packing-008" 69 run_dump_test "instruction_packing-009" 70 run_dump_test "instruction_packing-010" 71 run_dump_test "error-001" 72 run_dump_test "error-002" 73 run_dump_test "immediate-001" 74 run_dump_test "immediate-002" 75 run_dump_test "immediate-003" 76 run_dump_test "immediate-004" 77 run_dump_test "immediate-005" 78 run_dump_test "immediate-006" 79 run_dump_test "immediate-007" 80 run_dump_test "warning-001" 81 run_dump_test "warning-002" 82 run_dump_test "warning-003" 83 run_dump_test "warning-004" 84 run_dump_test "warning-005" 85 run_dump_test "warning-006" 86 run_dump_test "warning-007" 87 run_dump_test "warning-008" 88 run_dump_test "warning-009" 89 run_dump_test "warning-010" 90 run_dump_test "warning-011" 91 run_dump_test "warning-012" 92 run_dump_test "warning-013" 93 run_dump_test "warning-014" 94 run_dump_test "warning-015" 95 run_dump_test "warning-015" 96 run_dump_test "warning-016" 97 run_dump_test "warning-017" 98 run_dump_test "warning-018" 99 run_dump_test "warning-019" 100 run_dump_test "control-001" 101 run_dump_test "label-001" 102} 103