about summary refs log tree commit diff stats
path: root/arc/.traces/scheduler-sleep-location
blob: e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 (plain) (blame)

t_layers?h=main&id=6e1eeeebfb453fa7c871869c19375ce60fbd7413'>6e1eeeeb ^
d9ee2076 ^
f902aa09 ^
4ba60f35 ^
6e1eeeeb ^


6e1eeeeb ^
3b42da24 ^
fd91f7f6 ^
6e1eeeeb ^


fd91f7f6 ^
6e1eeeeb ^


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
           
                                                                            
 
                                               
 
      
 


                             
  
               
                           

    
                                
       
                                                                     
 


                              
               
                                                                                        
                       


                               
                


           
#!/bin/bash
# Repeatedly stop building until successive layers, and run all tests built.
#
# Assumes .subx files all come after .cc files.

set -e

cd `dirname $0`
# add C++ files one at a time
for f in [0-9]*cc
do
  echo "=== $f"
  ./build_and_test_until $f
done

# build everything one last time
./clean
./build  # build optimized since we'll be running it repeatedly below

# add SubX files one at a time
for f in [0-9]*.subx
do
  echo "=== $f"
  ./subx translate init.linux $(enumerate/enumerate --until $f |grep '\.subx$') -o a.elf
  ./subx run a.elf test
  echo
  test `uname` = 'Linux'  &&  {
    chmod +x a.elf
    ./a.elf test
    echo
  } || true
done