Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(122)

Side by Side Diff: sim/testsuite/sim/bfin/allinsn.exp

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sim/testsuite/sim/bfin/ChangeLog ('k') | sim/testsuite/sim/bfin/c_dsp32mac_dr_a1a0.s » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Analog Devices Blackfin simulator testsuite 1 # Analog Devices Blackfin simulator testsuite
2 2
3 if [istarget bfin-*-elf] { 3 if [istarget bfin-*-elf] {
4 # all machines 4 # all machines
5 set all_machs "bfin" 5 set all_machs "bfin"
6 6
7 # See if we have a preprocessor available.
8 if { [target_compile $srcdir/$subdir/usp.S compilercheck.x "preprocess" \
9 [list "incdir=$srcdir/$subdir"]] == "" } {
10 set has_cpp 1
11 } {
12 verbose -log "Can't execute preprocessor"
13 set has_cpp 0
14 }
15
16 # See if we have a compiler available.
17 if { [target_compile $srcdir/$subdir/argc.c compilercheck.x "executable" \
18 [list "incdir=$srcdir/$subdir" "additional_flags=-msim"]] == "" } {
19 set has_cc 1
20 } {
21 verbose -log "Can't execute C compiler"
22 set has_cc 0
23 }
24
7 foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.\[csS\]]] { 25 foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.\[csS\]]] {
26 # If we don't have a compiler available, skip tests :(.
27 if { $has_cpp == 0 && [string match "*.S" $src] } {
28 untested $src
29 continue
30 }
31 if { $has_cc == 0 && [string match "*.c" $src] } {
32 untested $src
33 continue
34 }
35
8 # If we're only testing specific files and this isn't one of them, 36 # If we're only testing specific files and this isn't one of them,
9 # skip it. 37 # skip it.
10 if ![runtest_file_p $runtests $src] { 38 if ![runtest_file_p $runtests $src] {
11 continue 39 continue
12 } 40 }
13 run_sim_test $src $all_machs 41 run_sim_test $src $all_machs
14 } 42 }
15 } 43 }
OLDNEW
« no previous file with comments | « sim/testsuite/sim/bfin/ChangeLog ('k') | sim/testsuite/sim/bfin/c_dsp32mac_dr_a1a0.s » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698