Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  travis-script.sh   Sprache: Shell

 

#!/bin/bash

set -e
set -u

: ${ENABLE_MRUBY:=no}
: ${TEST_TARGET:=all}

prefix=/tmp/local

command_test_options="--reporter=mark --timeout=60"

set -x

export COLUMNS=79

retry()
{
  local i=0
  while ! "$@"; do
    if [ $i -eq 3 ]; then
      exit 1
    fi
    i=$((i + 1))
  done
}

if [ "${TRAVIS_OS_NAME}" = "osx" ]; then
  memory_fs_size=$[768 * 1024 * 1024] # 768MiB
  byte_per_sector=512
  n_sectors=$[${memory_fs_size} / ${byte_per_sector}]
  memory_fs_device_path=$(hdid -nomount ram://${n_sectors})
  newfs_hfs ${memory_fs_device_path}
  mkdir -p tmp
  mount -t hfs ${memory_fs_device_path} tmp

  command_test_options="${command_test_options} --n-workers=2"
else
  command_test_options="${command_test_options} --n-workers=4"
fi

case "${BUILD_TOOL}" in
  autotools)
    case "${TEST_TARGET}" in
      command)
        test/command/run-test.sh ${command_test_options}
        ;;
      command-http)
        retry test/command/run-test.sh ${command_test_options} \
              --interface http
        ;;
      command-httpd)
        mkdir -p ${prefix}/var/log/groonga/httpd
        retry test/command/run-test.sh ${command_test_options} \
              --testee groonga-httpd
        ;;
      *)
        test/unit/run-test.sh -v v
        test/command/run-test.sh ${command_test_options}
        if [ "${ENABLE_MRUBY}" = "yes" ]; then
          test/mruby/run-test.rb
          test/command_line/run-test.rb
        fi
        retry test/command/run-test.sh ${command_test_options} \
              --interface http
        mkdir -p ${prefix}/var/log/groonga/httpd
        retry test/command/run-test.sh ${command_test_options} \
              --testee groonga-httpd
        ;;
    esac
    ;;
  cmake)
    test/command/run-test.sh ${command_test_options}
    ;;
esac

Messung V0.5 in Prozent
C=84 H=94 G=88

¤ Dauer der Verarbeitung: 0.2 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1127926
#Domains=2039723