Skip to content
Snippets Groups Projects
Commit b157f9a1 authored by Petr Rockai's avatar Petr Rockai
Browse files

test: Update testcases which used verify -D to use -E.

parent 490d93af
No related branches found
No related tags found
No related merge requests found
/* TAGS: min c */ /* TAGS: min c */
// VERIFY_OPTS: -D a=b -Dc=d // VERIFY_OPTS: -E a=b -Ec=d
// PROGRAM_OPTS: test // PROGRAM_OPTS: test
// SKIP_CC: 1 // SKIP_CC: 1
......
/* TAGS: min c */ /* TAGS: min c */
// VERIFY_OPTS: -D a=b -Dc=d -Dfootball // VERIFY_OPTS: -E a=b -Ec=d -Efootball
// SKIP_CC: 1 // SKIP_CC: 1
#include <dios.h> #include <dios.h>
#include <assert.h> #include <assert.h>
#include <string.h> #include <string.h>
int main( int argc, char **argv, char **envp ) { int main( int argc, char **argv, char **envp )
{
assert( argc == 1 ); assert( argc == 1 );
const char* test_name = "main-args-d.c"; const char* test_name = "main-args-d.c";
int tl = strlen( test_name ); int tl = strlen( test_name );
......
/* TAGS: min c */ /* TAGS: min c */
// VERIFY_OPTS: -Dnotpass -D TEST=passed // VERIFY_OPTS: -Enotpass -E TEST=passed
#include <stdlib.h> #include <stdlib.h>
#include <assert.h> #include <assert.h>
......
/* TAGS: min c++ */ /* TAGS: min c++ */
/* VERIFY_OPTS: -DFOO=blabla -DBAR=0 */ /* VERIFY_OPTS: -EFOO=blabla -EBAR=0 */
#include <cstdlib> #include <cstdlib>
#include <string> #include <string>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment