about summary refs log tree commit diff stats
path: root/html/console.mu.html
Commit message (Expand)AuthorAgeFilesLines
* 4891Kartik Agaram2018-12-301-0/+1
* 4890 - new html renderingsKartik Agaram2018-12-291-14/+9
* 4814Kartik Agaram2018-12-011-11/+14
* 4539Kartik Agaram2018-09-071-5/+5
* 4447Kartik Agaram2018-07-271-1/+1
* 4239Kartik Agaram2018-05-081-5/+5
* 4200Kartik K. Agaram2018-01-271-2/+2
* 4199Kartik K. Agaram2018-01-251-10/+9
* 4165Kartik K. Agaram2017-12-271-1/+1
* 4161Kartik K. Agaram2017-12-151-4/+4
* 3927Kartik K. Agaram2017-06-191-10/+9
* 3867Kartik K. Agaram2017-05-191-9/+10
* 3764 - better colors for cross-linksKartik K. Agaram2017-03-081-3/+4
* 3761Kartik K. Agaram2017-03-071-6/+7
* 3725Kartik K. Agaram2016-12-271-1/+1
* 3716Kartik K. Agaram2016-12-261-0/+2
* 3713 - cross-link calls with definitions in htmlKartik K. Agaram2016-12-261-1/+1
* 3710Kartik K. Agaram2016-12-261-16/+16
* 3709 - line numbers in htmlKartik K. Agaram2016-12-261-19/+43
* 3569Kartik K. Agaram2016-10-231-2/+2
* 3491Kartik K. Agaram2016-10-091-1/+1
* 3431Kartik K. Agaram2016-09-301-2/+2
* 2812Kartik K. Agaram2016-03-271-9/+18
* 2745Kartik K. Agaram2016-03-091-1/+1
* 2744Kartik K. Agaram2016-03-091-2/+2
* 2743Kartik K. Agaram2016-03-091-18/+9
* 2706 - update htmlKartik K. Agaram2016-02-251-2/+3
* 2423 - describe shape-shifting in html docsKartik K. Agaram2015-11-101-1/+1
* 2177Kartik K. Agaram2015-09-071-9/+12
* 2175Kartik K. Agaram2015-09-061-12/+10
* 2062Kartik K. Agaram2015-08-231-2/+2
* 1925Kartik K. Agaram2015-08-031-1/+1
* 1885Kartik K. Agaram2015-07-291-3/+3
* 1853Kartik K. Agaram2015-07-251-1/+1
* 1778Kartik K. Agaram2015-07-131-1/+1
* 1631 - update html versionsKartik K. Agaram2015-06-231-0/+50
m> 2016-05-09 14:09:56 -0700 2949 - disable Valgrind on app layer tests' href='/akkartik/mu/commit/test_layers?h=hlt&id=3cc643bea2cb5f42244b158e5f268a38b7153f11'>3cc643be ^
1baa04db ^
3cc643be ^





1baa04db ^
3cc643be ^
61c021fd ^
3cc643be ^





61c021fd ^
3cc643be ^
61c021fd ^
3cc643be ^





61c021fd ^
3cc643be ^
61c021fd ^
3cc643be ^



445bc53e ^

61c021fd ^
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
           

                                                                            
 










                                                
 

                      
         



                         
                           

               
                                     
                                         
               
                                                                                                                         
                              
                           
                                                                                          


                                                                              

    
                                     

       
 
                                 

                       
                                       

  

                               
    





                                       
  
                            
    





                                       
  
                            
    





                                       
  
                            
    



                                               

                                                
  
#!/bin/bash
# Repeatedly stop building until successive layers, and run all tests built,
# while checking for undefined behavior using both UBSan and Valgrind.
#
# Requires Linux.
#
# Usage:
#   Test all layers:
#     test_layers
#   Test non-app layers after x:
#     test_layers x
#   Test layers after x and until y (inclusive):
#     test_layers x y
#   Test all layers for a specific app:
#     test_layers app

if [[ $1 == one-off ]]
then
  ./build
  ./mu_bin test || exit 1
  exit 0
fi

# Core layers atop Valgrind
for f in [0-9]*
do
  if [[ $f < $1 ]]; then continue; fi
  if [[ $2 && $f > $2 ]]; then exit 0; fi
  echo "=== $f"
  rm -rf .build mu.cc mu_bin core.mu  # force full rebuild for top-level, but not subsidiary tools like tangle and cleave
  ./build --until $f || exit 1
  # valgrind requires Linux
  valgrind --leak-check=yes --num-callers=40 -q --error-exitcode=1 ./mu_bin test || exit 1
  # run on Mac OS without valgrind, and with a hacky fix for the coarser clock
#?   ./mu_bin test || exit 1
#?   sleep 1
done

# Layers for Mu apps without Valgrind
./clean
./build

if [[ ! $1 || $1 == chessboard ]]
then
  echo "=== chessboard"
  ./mu_bin test chessboard.mu || exit 1
fi

# slices of edit/ for Travis CI
if [[ ! $1 || $1 == edit ]]
then
  echo "=== edit: until 001"
  ./mu_bin test edit/001* || exit 1
  echo "=== edit: until 002"
  ./mu_bin test edit/00[1-2]* || exit 1
  echo "=== edit: until 003"
  ./mu_bin test edit/00[1-3]* || exit 1
fi
if [[ ! $1 || $1 == edit2 ]]
then
  echo "=== edit: until 004"
  ./mu_bin test edit/00[1-4]* || exit 1
  echo "=== edit: until 005"
  ./mu_bin test edit/00[1-5]* || exit 1
  echo "=== edit: until 006"
  ./mu_bin test edit/00[1-6]* || exit 1
fi
if [[ ! $1 || $1 == edit3 ]]
then
  echo "=== edit: until 007"
  ./mu_bin test edit/00[1-7]* || exit 1
  echo "=== edit: until 008"
  ./mu_bin test edit/00[1-8]* || exit 1
  echo "=== edit: until 009"
  ./mu_bin test edit/00* || exit 1
fi
if [[ ! $1 || $1 == edit4 ]]
then
  echo "=== edit: until 010"
  ./mu_bin test edit/00* edit/010* || exit 1
  echo "=== edit: until 011"
  ./mu_bin test edit/00* edit/01[01]* || exit 1
  echo "=== edit: until 012"
  ./mu_bin test edit/00* edit/01[0-2]* || exit 1
fi