Logo
Explore Get Started
openstack/swift
Code Issues Proposed changes
23fa18d302
BranchesTags
View all branches
swift/.alltests

23 lines
294 B
Plaintext
Raw Normal View History

Script for running unit, func and probe tests at once When developing Swift it's often needed to run all tests. This script makes it much simpler. Change-Id: I67e6f7cc05ebd0475001c1b56e8f6fd09c8c644f
2015-10-10 14:56:30 +02:00
#!/bin/bash
Apply bash error handling consistently in all bash scripts Change-Id: I36dcff9cc2593bcfb6aebbe84b59d95c711eb3e4
2016-08-18 09:48:45 +02:00
set -e
tests: Stop invoking python just to get the real source directory While we're at it, stop checking for a seven-year-old version of nose -- we already list a newer version in test-requirements.txt anyway. Change-Id: I97beace3094f11286730b99653dc1e8f699c5aec
2019-10-15 15:06:35 -07:00
TOP_DIR=$(dirname $(realpath "$0"))
Script for running unit, func and probe tests at once When developing Swift it's often needed to run all tests. This script makes it much simpler. Change-Id: I67e6f7cc05ebd0475001c1b56e8f6fd09c8c644f
2015-10-10 14:56:30 +02:00
echo "==== Unit tests ===="
resetswift
$TOP_DIR/.unittests $@
echo "==== Func tests ===="
resetswift
startmain
$TOP_DIR/.functests $@
echo "==== Probe tests ===="
resetswift
$TOP_DIR/.probetests $@
echo "All tests runs fine"
exit 0
Copy Permalink
Powered by Gitea Version: v1.23.7 Page: 96ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API