| Cyril Hrubis | ed69cd5 | 2013-06-24 17:51:00 +0200 | [diff] [blame] | 1 | /* | 
|  | 2 | * Copyright (c) 2013 Cyril Hrubis chrubis@suse.cz | 
|  | 3 | * | 
|  | 4 | * This program is free software; you can redistribute it and/or | 
|  | 5 | * modify it under the terms of the GNU General Public License | 
|  | 6 | * as published by the Free Software Foundation; either version 2 | 
|  | 7 | * of the License, or (at your option) any later version. | 
|  | 8 | * | 
|  | 9 | * This program is distributed in the hope that it will be useful, | 
|  | 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 
|  | 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | 
|  | 12 | * GNU General Public License for more details. | 
|  | 13 | * | 
|  | 14 | * You should have received a copy of the GNU General Public License | 
|  | 15 | * along with this program; if not, write to the Free Software | 
|  | 16 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA. | 
|  | 17 | * This program is free software; you can redistribute it and/or modify it | 
|  | 18 | * under the terms of version 2 of the GNU General Public License as | 
|  | 19 | * published by the Free Software Foundation. | 
|  | 20 | */ | 
|  | 21 |  | 
|  | 22 | #ifndef __LTP_PRIV_H__ | 
|  | 23 | #define __LTP_PRIV_H__ | 
|  | 24 |  | 
|  | 25 | /* declared in tst_tmpdir.c */ | 
|  | 26 | const char *tst_get_startwd(void); | 
|  | 27 |  | 
| Cyril Hrubis | 812521d | 2013-06-25 18:23:06 +0200 | [diff] [blame] | 28 | /* | 
|  | 29 | * This is the default temporary directory used by tst_tmpdir(). | 
|  | 30 | * | 
|  | 31 | * This is used when TMPDIR env variable is not set. | 
|  | 32 | */ | 
|  | 33 | #define TEMPDIR	"/tmp" | 
|  | 34 |  | 
| Cyril Hrubis | 06f9fe4 | 2013-06-26 14:55:48 +0200 | [diff] [blame^] | 35 | /* environment variables for controlling  tst_res verbosity */ | 
|  | 36 | #define TOUT_VERBOSE_S  "VERBOSE"	/* All test cases reported */ | 
|  | 37 | #define TOUT_NOPASS_S   "NOPASS"	/* No pass test cases are reported */ | 
|  | 38 | #define TOUT_DISCARD_S  "DISCARD"	/* No output is reported */ | 
|  | 39 |  | 
|  | 40 | /* | 
|  | 41 | * The following define contains the name of an environmental variable | 
|  | 42 | * that can be used to specify the number of iterations. | 
|  | 43 | * It is supported in parse_opts.c and USC_setup.c. | 
|  | 44 | */ | 
|  | 45 | #define USC_ITERATION_ENV       "USC_ITERATIONS" | 
|  | 46 |  | 
|  | 47 | /* | 
|  | 48 | * The following define contains the name of an environmental variable | 
|  | 49 | * that can be used to specify to iteration until desired time | 
|  | 50 | * in floating point seconds has gone by. | 
|  | 51 | * Supported in USC_setup.c. | 
|  | 52 | */ | 
|  | 53 | #define USC_LOOP_WALLTIME	"USC_LOOP_WALLTIME" | 
|  | 54 |  | 
|  | 55 | /* | 
|  | 56 | * The following define contains the name of an environmental variable | 
|  | 57 | * that can be used to specify that no functional checks are wanted. | 
|  | 58 | * It is supported in parse_opts.c and USC_setup.c. | 
|  | 59 | */ | 
|  | 60 | #define USC_NO_FUNC_CHECK	"USC_NO_FUNC_CHECK" | 
|  | 61 |  | 
|  | 62 | /* | 
|  | 63 | * The following define contains the name of an environmental variable | 
|  | 64 | * that can be used to specify the delay between each loop iteration. | 
|  | 65 | * The value is in seconds (fractional numbers are allowed). | 
|  | 66 | * It is supported in parse_opts.c. | 
|  | 67 | */ | 
|  | 68 | #define USC_LOOP_DELAY		"USC_LOOP_DELAY" | 
|  | 69 |  | 
|  | 70 |  | 
| Cyril Hrubis | ed69cd5 | 2013-06-24 17:51:00 +0200 | [diff] [blame] | 71 | #endif /* __LTP_PRIV_H__ */ |