FIXME: This is a hack to re-enable 'make check'
Do not print warning if in batch mode.
This commit is contained in:
parent
cfba8a5cd3
commit
41e92be956
|
|
@ -75,6 +75,7 @@ CDHW*/
|
|||
#endif
|
||||
|
||||
extern INPmodel *modtab;
|
||||
extern bool ft_batchmode;
|
||||
|
||||
static struct variable *parmtovar(IFvalue *pv, IFparm *opt);
|
||||
static IFparm *parmlookup(IFdevice *dev, GENinstance **inptr, char *param,
|
||||
|
|
@ -332,8 +333,10 @@ if_run(CKTcircuit *ckt, char *what, wordlist *args, INPtables *tab)
|
|||
ft_curckt->ci_curOpt = ft_curckt->ci_defOpt;
|
||||
if (ft_curckt->ci_curTask->jobs == NULL) {
|
||||
/* nothing to 'run' */
|
||||
fprintf(stderr, "Warning: No job (tran, ac, op etc.) defined:\n");
|
||||
return (3);
|
||||
if (!ft_batchmode) {
|
||||
fprintf(stderr, "Warning: No job (tran, ac, op etc.) defined:\n");
|
||||
return (3);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue