1671. [cleanup] Tests which only function in a threaded build

now return R:THREADONLY (rather than R:UNTESTED)
                        in a non-threaded build.
This commit is contained in:
Mark Andrews 2004-06-21 05:36:41 +00:00
parent 1bf8f4b77d
commit 1d8abe0521
5 changed files with 15 additions and 7 deletions

View file

@ -1,4 +1,8 @@
1671. [contrib] queryperf: add NAPTR to the list on known types.
1671. [cleanup] Tests which only function in a threaded build
now return R:THREADONLY (rather than R:UNTESTED)
in a non-threaded build.
1671. [contrib] queryperf: add NAPTR to the list of known types.
1670. [func] Log UPDATE requests to slave zones without an acl as
"disabled" at debug level 3. [RT# 11657]

View file

@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: t_tasks.c,v 1.32 2004/03/05 05:04:10 marka Exp $ */
/* $Id: t_tasks.c,v 1.33 2004/06/21 05:36:41 marka Exp $ */
#include <config.h>
@ -41,7 +41,7 @@ isc_boolean_t threaded = ISC_FALSE;
static void
require_threads(void) {
t_info("This test requires threads\n");
t_result(T_UNTESTED);
t_result(T_THREADONLY);
return;
}

View file

@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: t_timers.c,v 1.23 2004/03/05 05:04:12 marka Exp $ */
/* $Id: t_timers.c,v 1.24 2004/06/21 05:36:41 marka Exp $ */
#include <config.h>
@ -55,7 +55,7 @@ static int Tx_nanoseconds;
static void
require_threads(void) {
t_info("This test requires threads\n");
t_result(T_UNTESTED);
t_result(T_THREADONLY);
return;
}

View file

@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: t_api.h,v 1.15 2004/03/05 05:13:59 marka Exp $ */
/* $Id: t_api.h,v 1.16 2004/06/21 05:36:40 marka Exp $ */
#ifndef TESTS_T_API_H
#define TESTS_T_API_H 1
@ -37,6 +37,7 @@
#define T_UNRESOLVED 0x3
#define T_UNSUPPORTED 0x4
#define T_UNTESTED 0x5
#define T_THREADONLY 0x6
/*
*

View file

@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: t_api.c,v 1.52 2004/03/05 05:13:39 marka Exp $ */
/* $Id: t_api.c,v 1.53 2004/06/21 05:36:40 marka Exp $ */
#include <config.h>
@ -390,6 +390,9 @@ t_result(int result) {
case T_UNTESTED:
p = "UNTESTED";
break;
case T_THREADONLY:
p = "THREADONLY";
break;
default:
p = "UNKNOWN";
break;