xref: /aoo42x/main/toolkit/workben/layout/un-test.sh (revision cdf0e10c)
1#! /bin/sh
2
3# un-test.sh: remove TEST_LAYOUT code from OO.o implementation
4
5sed -e 's!^#!@!' < $1\
6    -e 's!$! /*$*/!' \
7    -e 's!^@\(.*TEST_LAYOUT\)!#\1!'\
8    | tee i \
9    | cpp -traditional -C -CC -DNON_LAYOUT_COMPILE_FIXES=1 \
10    | grep -F '/*$*/' \
11    | sed -e 's! /\*\$\*/!!' \
12    -e 's!^@!#!' \
13    -e 's!#define 1 1!#define NON_LAYOUT_COMPILE_FIXES 1!'
14
15