File: regression.sh

package info (click to toggle)
alliance 5.0-20120515-1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 70,180 kB
  • sloc: ansic: 350,295; vhdl: 34,227; yacc: 27,122; sh: 12,416; cpp: 9,478; makefile: 7,055; lex: 3,684
file content (25 lines) | stat: -rwxr-xr-x 501 bytes parent folder | download | duplicates (4)
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
#!/bin/bash

 if [ -z "$ALLIANCE_TOP" ]; then
   alcEnv="/etc/profile.d/alc_env.sh"

   if [ ! -x "${alcEnv}" ]; then
     ALLIANCE_TOP="${HOME}/alliance/Linux.slsoc6x/install"

     alcEnv="${ALLIANCE_TOP}/etc/profile.d/alc_env.sh"
     if [ ! -f "${alcEnv}" ]; then
       alcEnv="${ALLIANCE_TOP}/etc/alc_env.sh"
     else
       echo "[ERROR] Cannot find alc_env.sh."
       exit 1
     fi
   fi
   . ${alcEnv}
 fi

 pushd alliance-run
 ./bench.sh
 popd
 pushd alliance-examples
 ./go-all.sh
 popd